From 764f688955ca4b2befa5aa3261d87b4aa747fe7c Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 26 Sep 2011 09:00:11 +0000 Subject: [PATCH] [uboot-lantiq] * fixes brnboot image generation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28307 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/uboot-lantiq/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package/uboot-lantiq/Makefile b/package/uboot-lantiq/Makefile index 015efcfe6..44a0eec8a 100644 --- a/package/uboot-lantiq/Makefile +++ b/package/uboot-lantiq/Makefile @@ -119,16 +119,16 @@ endef define Package/uboot-lantiq-$(BUILD_VARIANT)/install mkdir -p $(1) -ifneq ($(findstring ramboot,$(BUILD_VARIANT)),) - dd \ - if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot.bin \ - of=$(1)/u-boot.bin \ - bs=64k conv=sync -else +ifneq ($(findstring flash,$(BUILD_VARIANT)),) dd \ if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot-bootstrap.bin \ of=$(1)/u-boot-bootstrap.bin \ bs=64k conv=sync +else + dd \ + if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot.bin \ + of=$(1)/u-boot.bin \ + bs=64k conv=sync endif ifneq ($(findstring ramboot,$(BUILD_VARIANT)),) if [ -e $(DDR_CONFIG_$(BUILD_VARIANT)).conf ]; then \