From 61e04971071f24c980a6d1d202f6dda8a2b671ca Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 5 Sep 2004 17:15:00 +0000 Subject: add image and kernel deploy bits for beagle BKrev: 413b499410OAXNXx17kdqRhmt_MaVQ --- linux/montavista-sa_2.4.17-mvl21.oe | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'linux') diff --git a/linux/montavista-sa_2.4.17-mvl21.oe b/linux/montavista-sa_2.4.17-mvl21.oe index 24eb347d4e..21f344fc90 100644 --- a/linux/montavista-sa_2.4.17-mvl21.oe +++ b/linux/montavista-sa_2.4.17-mvl21.oe @@ -4,6 +4,7 @@ LICENSE = "GPL" KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}" MVLV = "${@oe.data.getVar('PV',d,True).split('-')[1]}" PR = "r4" +DEPENDS = "cetools-native" FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}" @@ -34,3 +35,11 @@ do_configure_prepend() { echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config } +do_deploy() { + install -d ${DEPLOY_DIR}/images + bin2rom arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${DATETIME}.bin c0008000 c0008000 +} + +do_deploy[dirs] = "${S}" + +addtask deploy before do_build after do_compile -- cgit v1.2.3