Mercurial > hg > aboriginal
view linux-kernel.sh @ 1479:b69933a9a06b
Cleanup busybox config: remove redundant entries and trailing whitespace, add CONFIG_TEST=y.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 28 Dec 2011 12:57:07 -0600 |
parents | aca2150c9531 |
children | f19ce5e2ec02 |
line wrap: on
line source
#!/bin/bash # Package a root filesystem directory into a filesystem image file source sources/include.sh || exit 1 # Parse sources/targets/$1 load_target "$1" # If we have an initramfs, incorporate it into the kernel image. [ -e "$BUILD/root-image-$ARCH/initramfs_data.cpio" ] && MORE_KERNEL_CONFIG="CONFIG_BLK_DEV_INITRD=y\nCONFIG_INITRAMFS_SOURCE=\"$BUILD/root-image-$ARCH/initramfs_data.cpio\"\nCONFIG_INITRAMFS_COMPRESSION_GZIP=y" # Build linux kernel for the target setupfor linux [ -z "$BOOT_KARCH" ] && BOOT_KARCH=$KARCH make ARCH=$BOOT_KARCH $LINUX_FLAGS KCONFIG_ALLCONFIG=<(getconfig linux && echo -e "$MORE_KERNEL_CONFIG") allnoconfig >/dev/null && make -j $CPUS ARCH=$BOOT_KARCH $DO_CROSS $LINUX_FLAGS $VERBOSITY && cp "$KERNEL_PATH" "$STAGE_DIR" cleanup ARCH="$ARCH_NAME" create_stage_tarball