diff options
author | Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com> | 2017-10-04 16:14:40 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-14 00:33:34 +0200 |
commit | 0a919afae4e0056a70004484144f8ac5b0582c0b (patch) | |
tree | e0cb3daceb42a4978cc11880ac78326bd775c04e /package/boot/at91bootstrap | |
parent | cc443e894a1b01093f5abba0c2884eb64c2f1778 (diff) | |
download | upstream-0a919afae4e0056a70004484144f8ac5b0582c0b.tar.gz upstream-0a919afae4e0056a70004484144f8ac5b0582c0b.tar.bz2 upstream-0a919afae4e0056a70004484144f8ac5b0582c0b.zip |
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>
Diffstat (limited to 'package/boot/at91bootstrap')
-rw-r--r-- | package/boot/at91bootstrap/at91bootstrap.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/package/boot/at91bootstrap/at91bootstrap.mk b/package/boot/at91bootstrap/at91bootstrap.mk index 732d643aa6..dda5fa4e9c 100644 --- a/package/boot/at91bootstrap/at91bootstrap.mk +++ b/package/boot/at91bootstrap/at91bootstrap.mk @@ -1,6 +1,15 @@ +PKG_TARGETS := bin +PKG_FLAGS:=nonshared + 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 BUILD_TARGET:= BUILD_SUBTARGET:= @@ -46,8 +55,7 @@ define Build/AT91Bootstrap/Target endef define Package/at91bootstrap-$(1)/install - $(CP) $(PKG_BUILD_DIR)/binaries/*uboot*.bin \ - $(BIN_DIR)/at91bootstrap-$(1).bin + $$(Package/at91bootstrap/install) endef endef |