summaryrefslogtreecommitdiff
path: root/recipes/images/corecdp-tftpboot.inc
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2010-04-30 10:51:50 -0500
committerJesse Gilles <jgilles@multitech.com>2010-04-30 10:51:50 -0500
commit8f11a9df72dde5dbcc9cd419ce815dc9756be793 (patch)
treebfd5cf5bc0846eb3da0c6d2ed79fccaf9789fef9 /recipes/images/corecdp-tftpboot.inc
parent0431f878edd38a1af264e5727e1e4d604f1a95fd (diff)
add CoreCDP images
Diffstat (limited to 'recipes/images/corecdp-tftpboot.inc')
-rw-r--r--recipes/images/corecdp-tftpboot.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/images/corecdp-tftpboot.inc b/recipes/images/corecdp-tftpboot.inc
new file mode 100644
index 0000000000..36507732b7
--- /dev/null
+++ b/recipes/images/corecdp-tftpboot.inc
@@ -0,0 +1,13 @@
+
+# make links to images in TFTPBOOT_DIR for ease of development
+do_build_append () {
+ if [ -n "${TFTPBOOT_DIR}" ]; then
+ install -d ${DEPLOY_DIR_IMAGE}
+ ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin ${TFTPBOOT_DIR}/oe_bootstrap.bin
+ ln -nfs ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_u-boot.bin
+ ln -nfs ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_uImage.bin
+ ln -nfs ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.jffs2 ${TFTPBOOT_DIR}/oe_rootfs.jffs2
+ ln -nfs ${DEPLOY_DIR_IMAGE} ${TFTPBOOT_DIR}/oe_images
+ fi
+}
+