diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-10 10:51:35 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-10 10:51:35 +0200 |
commit | 617a0cba5721e42999d29e7b12a87f2597d5a410 (patch) | |
tree | 6102e6fe53d55904c6b37eee6e3d7455892c39b1 /recipes-bsp/u-boot/u-boot.inc | |
parent | 5bdc1d2f7ebfde803c9fadd9f68933f8725fc0b4 (diff) | |
download | meta-ti-617a0cba5721e42999d29e7b12a87f2597d5a410.tar.gz |
u-boot: inherit deploy to fix spurious rebuilds in image targets
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot.inc')
-rw-r--r-- | recipes-bsp/u-boot/u-boot.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc index 36dab1a1..d48ef8b3 100644 --- a/recipes-bsp/u-boot/u-boot.inc +++ b/recipes-bsp/u-boot/u-boot.inc | |||
@@ -56,13 +56,11 @@ FILES_${PN}-fw-utils = "${sysconfdir} ${base_sbindir}" | |||
56 | # u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then: | 56 | # u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then: |
57 | INSANE_SKIP_${PN}-fw-utils = True | 57 | INSANE_SKIP_${PN}-fw-utils = True |
58 | 58 | ||
59 | inherit deploy | ||
60 | |||
59 | do_deploy () { | 61 | do_deploy () { |
60 | install -d ${DEPLOY_DIR_IMAGE} | 62 | install -d ${DEPLOY_DIR_IMAGE} |
61 | install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} | 63 | install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} |
62 | 64 | ||
63 | cd ${DEPLOY_DIR_IMAGE} | 65 | cd ${DEPLOY_DIR_IMAGE} |
64 | rm -f ${UBOOT_SYMLINK} | 66 | rm -f ${UBOOT_SYMLINK} |
65 | ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} | ||
66 | } | ||
67 | do_deploy[dirs] = "${S}" | ||
68 | addtask deploy before do_package_stage after do_compile | ||