X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2f214fab5e6d2f06923e80dbe7ef363909f9cf37..6a4a40e378c32f793572f4aa87f208539bcada5e:/target/linux/avr32/image/u-boot/Makefile?ds=sidebyside diff --git a/target/linux/avr32/image/u-boot/Makefile b/target/linux/avr32/image/u-boot/Makefile index c6db50c5b..a24efc4c4 100644 --- a/target/linux/avr32/image/u-boot/Makefile +++ b/target/linux/avr32/image/u-boot/Makefile @@ -29,7 +29,8 @@ define Build/Compile endef define Build/InstallDev - dd if=$(PKG_BUILD_DIR)/u-boot.bin of=$(BIN_DIR)/u-boot-$(CONFIG_AVR32_UBOOT_TARGET).bin bs=64k count=1 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 $(eval $(call Build/DefaultTargets))