packages: uboot-mxs: place binaries in the designated path

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 47008
This commit is contained in:
Zoltan Herpai 2015-09-18 19:29:23 +00:00
parent c927366d05
commit a1f4164631

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2013 OpenWrt.org # Copyright (C) 2013-2015 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -40,7 +40,6 @@ endef
UBOOTS := \ UBOOTS := \
mx23_olinuxino \ mx23_olinuxino \
duckbill duckbill
define Package/uboot/template define Package/uboot/template
define Package/uboot-mxs-$(1) define Package/uboot-mxs-$(1)
@ -76,10 +75,9 @@ define Build/Compile
CROSS_COMPILE=$(TARGET_CROSS) u-boot.sb CROSS_COMPILE=$(TARGET_CROSS) u-boot.sb
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)
dd if=$(PKG_BUILD_DIR)/u-boot.sb of=$(BIN_DIR)/uboot-$(BOARD)-$(1).sb bs=512 seek=4 dd if=$(PKG_BUILD_DIR)/u-boot.sb of=$(BIN_DIR)/uboot-$(BOARD)-$(1)/uboot-$(BOARD)-$(1).sb bs=512 seek=4
endef endef
define Package/uboot/install/template define Package/uboot/install/template