diff options
-rw-r--r-- | linux/linux-nslu2_2.4.22.oe | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linux/linux-nslu2_2.4.22.oe b/linux/linux-nslu2_2.4.22.oe index a8008080a5..6d45ad1540 100644 --- a/linux/linux-nslu2_2.4.22.oe +++ b/linux/linux-nslu2_2.4.22.oe @@ -21,9 +21,23 @@ inherit kernel ARCH = "arm" KERNEL_IMAGETYPE = "zImage" +CMDLINE_CONSOLE ?= "ttyS0,115200n8" +CMDLINE_ROOT = "root=/dev/ram0 initrd=0x01000000,10M mem=32M@0x00000000" +CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_CONSOLE}" do_configure_prepend() { install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config rm -rf ${S}/include/asm-arm/arch ${S}/include/asm-arm/proc \ ${S}/include/asm-arm/.proc ${S}/include/asm-arm/.arch } + +do_deploy() { + install -d ${DEPLOY_DIR}/images + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}.bin-${DATETIME} +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile + |