summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-23 10:16:58 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-23 10:16:58 +0000
commitb3949ee75dbb5d484bf1adfb409630697b13cb81 (patch)
treea4e0c2774b5e5f201d93b2b5d12fb3cf38225d2e
parent3a99ba08dfe72e69c8742afdf56fbe7b10efed8a (diff)
downloadbuildroot-novena-b3949ee75dbb5d484bf1adfb409630697b13cb81.tar.gz
buildroot-novena-b3949ee75dbb5d484bf1adfb409630697b13cb81.zip
Ensure project U-Boot dir exists before using it
-rw-r--r--project/project.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/project/project.mk b/project/project.mk
index b85fe3915..651a97ff2 100644
--- a/project/project.mk
+++ b/project/project.mk
@@ -37,6 +37,7 @@ saveconfig: $(CONFIG)/conf
echo "BR2_UCLIBC_CONFIG:=$(LOCAL)/$(PROJECT)/uclibc-$(UCLIBC_VER).config" >> $(PROJECT_FILE); \
fi
if [ -f $(UBOOT_DIR)/include/configs/$(PROJECT).h ]; then \
+ mkdir -p $(LOCAL)/$(PROJECT)/u-boot; \
cp $(UBOOT_DIR)/include/configs/$(PROJECT).h \
$(LOCAL)/$(PROJECT)/u-boot/$(PROJECT).h; \
fi