mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
* fixes brnboot image generation
SVN-Revision: 28307
This commit is contained in:
parent
bfbbe5893f
commit
07986230f1
@ -119,16 +119,16 @@ endef
|
|||||||
|
|
||||||
define Package/uboot-lantiq-$(BUILD_VARIANT)/install
|
define Package/uboot-lantiq-$(BUILD_VARIANT)/install
|
||||||
mkdir -p $(1)
|
mkdir -p $(1)
|
||||||
ifneq ($(findstring ramboot,$(BUILD_VARIANT)),)
|
ifneq ($(findstring flash,$(BUILD_VARIANT)),)
|
||||||
dd \
|
|
||||||
if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot.bin \
|
|
||||||
of=$(1)/u-boot.bin \
|
|
||||||
bs=64k conv=sync
|
|
||||||
else
|
|
||||||
dd \
|
dd \
|
||||||
if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot-bootstrap.bin \
|
if=$(PKG_BUILD_DIR)/$(BUILD_VARIANT)/u-boot-bootstrap.bin \
|
||||||
of=$(1)/u-boot-bootstrap.bin \
|
of=$(1)/u-boot-bootstrap.bin \
|
||||||
bs=64k conv=sync
|
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
|
endif
|
||||||
ifneq ($(findstring ramboot,$(BUILD_VARIANT)),)
|
ifneq ($(findstring ramboot,$(BUILD_VARIANT)),)
|
||||||
if [ -e $(DDR_CONFIG_$(BUILD_VARIANT)).conf ]; then \
|
if [ -e $(DDR_CONFIG_$(BUILD_VARIANT)).conf ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user