Ensure project U-Boot dir exists before using it

This commit is contained in:
Ulf Samuelsson 2007-09-23 10:16:58 +00:00
parent 3a99ba08df
commit b3949ee75d

View File

@ -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