mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
packages: uboot-mxs: bless UBOOT_IMAGE with a meaning
Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 47018
This commit is contained in:
parent
b6c39a38a6
commit
a7a0009cef
@ -62,7 +62,7 @@ endef
|
|||||||
ifdef BUILD_VARIANT
|
ifdef BUILD_VARIANT
|
||||||
$(eval $(call uboot/$(BUILD_VARIANT)))
|
$(eval $(call uboot/$(BUILD_VARIANT)))
|
||||||
UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(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
|
endif
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
@ -72,12 +72,12 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CROSS_COMPILE=$(TARGET_CROSS) u-boot.sb
|
CROSS_COMPILE=$(TARGET_CROSS) $(UBOOT_IMAGE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/uboot/install/default
|
define Package/uboot/install/default
|
||||||
$(INSTALL_DIR) $(BIN_DIR)/uboot-$(BOARD)-$(1)
|
$(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
|
endef
|
||||||
|
|
||||||
define Package/uboot/install/template
|
define Package/uboot/install/template
|
||||||
|
Loading…
Reference in New Issue
Block a user