print_info 2 "CMD_LINUXRC: $CMD_LINUXRC"
;;
--genzimage)
- KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
- KERNEL_BINARY_2='arch/ppc/boot/images/zImage.initrd.chrp'
GENERATE_Z_IMAGE=1
print_info 2 "GENERATE_Z_IMAGE: $GENERATE_Z_IMAGE"
;;
fi
fi
+ # Make a symlink to init .. incase we are bundled inside the kernel as one big cpio.
+ ln -s ${TEMP}/initramfs-aux-temp/init ${TEMP}/initramfs-aux-temp/linuxrc
+
if [ -f "${GK_SHARE}/${ARCH}/initrd.scripts" ]
then
cp "${GK_SHARE}/${ARCH}/initrd.scripts" "${TEMP}/initramfs-aux-temp/etc/initrd.scripts"
KERNEL_MAKE_DIRECTIVE="vmlinux"
KERNEL_BINARY="vmlinux"
+KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
+KERNEL_BINARY_2='arch/ppc/boot/images/zImage.initrd.chrp'
+
# The dietlibc portion of busybox is commented out right now
# other stuff seems to compile fine though
USE_DIETLIBC=1
# ppc/config.sh
KERNEL_MAKE_DIRECTIVE="vmlinux"
-KERNEL_MAKE_DIRECTIVE_2=""
KERNEL_BINARY="vmlinux"
+KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
+KERNEL_BINARY_2='arch/ppc64/boot/images/zImage.initrd.chrp'
+
# The dietlibc portion of busybox is commented out right now
# other stuff seems to compile fine though
USE_DIETLIBC=1