at91bootstrap: remove manual copy of binaries to BIN_DIR
removed copying of binaries to BIN_DIR during install and using default/install to install binaries to BIN_DIR folder. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
This commit is contained in:
committed by
Hauke Mehrtens
parent
cc443e894a
commit
0a919afae4
@@ -1,6 +1,15 @@
|
|||||||
|
|
||||||
|
PKG_TARGETS := bin
|
||||||
|
PKG_FLAGS:=nonshared
|
||||||
|
|
||||||
export GCC_HONOUR_COPTS=s
|
export GCC_HONOUR_COPTS=s
|
||||||
|
|
||||||
|
define Package/at91bootstrap/install/default
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/binaries/*uboot* $(1)/
|
||||||
|
endef
|
||||||
|
|
||||||
|
Package/at91bootstrap/install = $(Package/at91bootstrap/install/default)
|
||||||
|
|
||||||
define AT91Bootstrap/Init
|
define AT91Bootstrap/Init
|
||||||
BUILD_TARGET:=
|
BUILD_TARGET:=
|
||||||
BUILD_SUBTARGET:=
|
BUILD_SUBTARGET:=
|
||||||
@@ -46,8 +55,7 @@ define Build/AT91Bootstrap/Target
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/at91bootstrap-$(1)/install
|
define Package/at91bootstrap-$(1)/install
|
||||||
$(CP) $(PKG_BUILD_DIR)/binaries/*uboot*.bin \
|
$$(Package/at91bootstrap/install)
|
||||||
$(BIN_DIR)/at91bootstrap-$(1).bin
|
|
||||||
endef
|
endef
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user