summaryrefslogtreecommitdiff
path: root/multitech/recipes/images/corecdp-tftpboot.inc
diff options
context:
space:
mode:
Diffstat (limited to 'multitech/recipes/images/corecdp-tftpboot.inc')
-rw-r--r--multitech/recipes/images/corecdp-tftpboot.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/multitech/recipes/images/corecdp-tftpboot.inc b/multitech/recipes/images/corecdp-tftpboot.inc
index 35299b0..9acb68d 100644
--- a/multitech/recipes/images/corecdp-tftpboot.inc
+++ b/multitech/recipes/images/corecdp-tftpboot.inc
@@ -3,8 +3,9 @@
do_build_append () {
if [ -n "${TFTPBOOT_DIR}" ]; then
install -d ${DEPLOY_DIR_IMAGE}
+ rm -f ${TFTPBOOT_DIR}/oe_*
ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin ${TFTPBOOT_DIR}/oe_bootstrap.bin
- if [ "${MACHINE}" = "mtocgd3" ]; then
+ if [ -f ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ]; then
ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ${TFTPBOOT_DIR}/oe_bootstrap_pmecc_padded.bin
fi
ln -nfs ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_u-boot.bin