Mercurial > hg > aboriginal
view linux-kernel.sh @ 1634:23b9782e7ab0
Linux commit a5463cd34354 introduced random breakage for no apparent reason, resulting in armv6l not booting unless you enable CONFIG_KUSER_HELPERS (which makes that commit a NOP).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 17 Oct 2013 02:15:26 -0500 |
parents | f19ce5e2ec02 |
children | 3873d1b178e0 |
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" setupfor linux # Get miniconfig. If we have an initramfs, incorporate it into the kernel image. getconfig linux > mini.conf CPIO="$BUILD/root-image-$ARCH/initramfs_data.cpio" [ -e "$CPIO" ] && echo -e "CONFIG_BLK_DEV_INITRD=y\nCONFIG_INITRAMFS_SOURCE=\"$CPIO\"\nCONFIG_INITRAMFS_COMPRESSION_GZIP=y" >> mini.conf # Build linux kernel for the target [ -z "$BOOT_KARCH" ] && BOOT_KARCH=$KARCH make ARCH=$BOOT_KARCH $LINUX_FLAGS KCONFIG_ALLCONFIG=mini.conf 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