aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mxs/Makefile
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2015-09-21 21:04:24 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2015-09-21 21:04:24 +0000
commitfa3cf8e6e8bb58fe5ef6d4f9560dc9b6b23ff195 (patch)
tree2f24249354fba6eba2f30609ad89b3b4d79f43c6 /package/boot/uboot-mxs/Makefile
parent82a8aac378373f0354268f8a9ca5cc94e019d594 (diff)
downloadmaster-187ad058-fa3cf8e6e8bb58fe5ef6d4f9560dc9b6b23ff195.tar.gz
master-187ad058-fa3cf8e6e8bb58fe5ef6d4f9560dc9b6b23ff195.tar.bz2
master-187ad058-fa3cf8e6e8bb58fe5ef6d4f9560dc9b6b23ff195.zip
packages: uboot-mxs: bless UBOOT_IMAGE with a meaning
Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47018 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-mxs/Makefile')
-rw-r--r--package/boot/uboot-mxs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile
index eee73d27b4..373b8d8f80 100644
--- a/package/boot/uboot-mxs/Makefile
+++ b/package/boot/uboot-mxs/Makefile
@@ -62,7 +62,7 @@ endef
ifdef BUILD_VARIANT
$(eval $(call uboot/$(BUILD_VARIANT)))
UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT))
-UBOOT_IMAGE:=$(if $(IMAGE),$(IMAGE),openwrt-$(BOARD)-$(BUILD_VARIANT)-u-boot.bin)
+UBOOT_IMAGE:=$(if $(IMAGE),$(IMAGE),u-boot.sb)
endif
define Build/Configure
@@ -72,12 +72,12 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CROSS_COMPILE=$(TARGET_CROSS) u-boot.sb
+ CROSS_COMPILE=$(TARGET_CROSS) $(UBOOT_IMAGE)
endef
define Package/uboot/install/default
$(INSTALL_DIR) $(BIN_DIR)/uboot-$(BOARD)-$(1)
- $(CP) $(PKG_BUILD_DIR)/u-boot.sb $(BIN_DIR)/uboot-$(BOARD)-$(1)/uboot-$(BOARD)-$(1).sb
+ $(CP) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(BIN_DIR)/uboot-$(BOARD)-$(1)/uboot-$(BOARD)-$(1).sb
endef
define Package/uboot/install/template