diff options
author | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:54:04 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:54:04 +0000 |
commit | c60a7366fd6d3db64885a947060327ff28eb1d61 (patch) | |
tree | dd0c292ba27a121fc58265236e1d84cfab08740c | |
parent | 67225038e62549bda2dc965a820c67ed6aab9a9f (diff) |
nslu2 kernel: obey CMDLINE_CONSOLE and deploy the kernel image.
BKrev: 4149004cWrFobB2ST2le8rK9awdDKQ
-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 + |