diff options
author | Koen Kooi <koen@openembedded.org> | 2008-07-07 20:45:23 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-07-07 20:45:23 +0000 |
commit | 6963269b902bc1a683f9e3b2ed310c0ac43e8cc7 (patch) | |
tree | 5f7fb18b0ba50a1cbaedd063188ad9002d328608 /conf/machine | |
parent | f556eb47ca170da06fc44bc6ea96e41d1e2f496d (diff) |
neuros.inc: add IMAGE_DEPENDS
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/neuros.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/machine/include/neuros.inc b/conf/machine/include/neuros.inc index ae3cd4ba32..fd74ab614e 100644 --- a/conf/machine/include/neuros.inc +++ b/conf/machine/include/neuros.inc @@ -1,5 +1,7 @@ MACHINE_POSTPROCESS_COMMAND = "neuros_make_installkit" +EXTRA_IMAGEDEPENDS += "u-boot u-boot-env virtual/kernel neuros-pkggen-native" + neuros_make_installkit () { cd ${DEPLOY_DIR_IMAGE} rm -rf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-installkit/ @@ -7,8 +9,8 @@ neuros_make_installkit () { # Get the latest kernel and u-boot using the foo-<machine>.bin symlinks cp uImage-${MACHINE}.bin ${IMAGE_NAME}-installkit/temp/uImage - cp u-boot-${MACHINE}.bin ${IMAGE_NAME}-installkit/u-boot.bin - cp default_env.img ${IMAGE_NAME}-installkit/ + [ -f u-boot-${MACHINE}.bin ] && cp u-boot-${MACHINE}.bin ${IMAGE_NAME}-installkit/u-boot.bin + [ -f default_env.img ] && cp default_env.img ${IMAGE_NAME}-installkit/ cp ${IMAGE_NAME}.rootfs.jffs2 ${IMAGE_NAME}-installkit/initrd.bin |