summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-08-22 22:15:43 +0159
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2011-08-22 22:15:43 +0159
commit16457b3c17e4c86edc3daa9852f65a9a754c0e39 (patch)
tree7d85882b977fbc8724cf96f3b9ac863e66d4b0f8
parentebfccecacbeefddc40a923033e9b11b1cb2e272d (diff)
Make sure u-boot is actually built before
trying to install it.
-rw-r--r--tasks/bootfiles.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/bootfiles.mk b/tasks/bootfiles.mk
index c123617..b52c0bf 100644
--- a/tasks/bootfiles.mk
+++ b/tasks/bootfiles.mk
@@ -1,4 +1,4 @@
-
+.PHONY: u-boot
ifeq ($(TARGET_USE_UBOOT),true)
u-boot: $(PRODUCT_OUT)/u-boot.bin
else
@@ -26,7 +26,7 @@ x-loader:
endif
.PHONY: copybootfiles
-copybootfiles: x-loader
+copybootfiles: x-loader u-boot
$(hide) mkdir -p $(PRODUCT_OUT)/boot
ifeq ($(TARGET_USE_UBOOT),true)
cp $(PRODUCT_OUT)/u-boot.bin $(PRODUCT_OUT)/boot