Mercurial > hg > aboriginal
comparison linux-kernel.sh @ 1398:b74d36876c0a
Replace read_arch_dir with load_target, which understands that sources/targets/$TARGET can be a file or a directory.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 26 Jun 2011 17:44:02 -0500 |
parents | 9252453c40d0 |
children | aca2150c9531 |
comparison
equal
deleted
inserted
replaced
1397:06f26d3b636e | 1398:b74d36876c0a |
---|---|
2 | 2 |
3 # Package a root filesystem directory into a filesystem image file | 3 # Package a root filesystem directory into a filesystem image file |
4 | 4 |
5 source sources/include.sh || exit 1 | 5 source sources/include.sh || exit 1 |
6 | 6 |
7 # Parse the sources/targets/$1 directory | 7 # Parse sources/targets/$1 |
8 | 8 |
9 read_arch_dir "$1" | 9 load_target "$1" |
10 | 10 |
11 # If we have an initramfs, incorporate it into the kernel image. | 11 # If we have an initramfs, incorporate it into the kernel image. |
12 | 12 |
13 [ -e "$BUILD/root-image-$ARCH/initramfs_data.cpio" ] && | 13 [ -e "$BUILD/root-image-$ARCH/initramfs_data.cpio" ] && |
14 MORE_KERNEL_CONFIG="CONFIG_BLK_DEV_INITRD=y\nCONFIG_INITRAMFS_SOURCE=\"$BUILD/root-image-$ARCH/initramfs_data.cpio\"\nCONFIG_INITRAMFS_COMPRESSION_GZIP=y" | 14 MORE_KERNEL_CONFIG="CONFIG_BLK_DEV_INITRD=y\nCONFIG_INITRAMFS_SOURCE=\"$BUILD/root-image-$ARCH/initramfs_data.cpio\"\nCONFIG_INITRAMFS_COMPRESSION_GZIP=y" |