deploy kernel into images directory
authorPhil Blundell <philb@gnu.org>
Sun, 5 Sep 2004 13:31:32 +0000 (13:31 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 5 Sep 2004 13:31:32 +0000 (13:31 +0000)
BKrev: 413b1534b4RVi4l2tomJq_JwZF_DNw

linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe

index 8b41e35..1834894 100644 (file)
@@ -74,3 +74,13 @@ do_configure_prepend() {
         fi
        echo "CONFIG_CMDLINE=\"$CMDLINE mem=${mem}M\"" >> ${S}/.config
 }
+
+do_deploy() {
+       install -d ${DEPLOY_DIR}/images
+       install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${DATETIME}
+}
+
+do_deploy[dirs] = "${S}"
+
+addtask deploy before do_build after do_compile
+