Просмотр исходного кода

fix uboot not building

SVN-Revision: 11100
Travis Kemen 18 лет назад
Родитель
Сommit
ace5c1dac5
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      target/linux/avr32/image/u-boot/Makefile

+ 2 - 1
target/linux/avr32/image/u-boot/Makefile

@@ -29,7 +29,8 @@ define Build/Compile
 endef
 endef
 
 
 define Build/InstallDev
 define Build/InstallDev
-	dd if=$(PKG_BUILD_DIR)/u-boot.bin of=$(BIN_DIR)/u-boot-$(CONFIG_AVR32_UBOOT_TARGET).bin bs=64k conv=sync
+	mkdir -p $(BIN_DIR)
+	dd if=$(PKG_BUILD_DIR)/u-boot.bin of=$(BIN_DIR)/u-boot-$(UBOOT_CONFIG).bin bs=64k conv=sync
 endef
 endef
 
 
 $(eval $(call Build/DefaultTargets))
 $(eval $(call Build/DefaultTargets))