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

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

SVN-Revision: 47008
owl
Zoltan Herpai 2015-09-18 19:29:23 +00:00
parent c927366d05
commit a1f4164631
1 changed files with 2 additions and 4 deletions

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.
# See /LICENSE for more information.
@ -40,7 +40,6 @@ endef
UBOOTS := \
mx23_olinuxino \
duckbill
define Package/uboot/template
define Package/uboot-mxs-$(1)
@ -76,10 +75,9 @@ define Build/Compile
CROSS_COMPILE=$(TARGET_CROSS) u-boot.sb
endef
define Package/uboot/install/default
$(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
define Package/uboot/install/template