summaryrefslogtreecommitdiffstats
path: root/package/sunxi-tools
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-05 13:14:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 15:19:02 +0200
commit15bff58f3e627fc328dd2614fabbbae70113794b (patch)
treecadbb86f368f34475ea7768e813ac4a45e74777f /package/sunxi-tools
parent632b6f14775436ba785a1890b43bbfdf3aea9b07 (diff)
downloadbuildroot-15bff58f3e627fc328dd2614fabbbae70113794b.tar.gz
buildroot-15bff58f3e627fc328dd2614fabbbae70113794b.zip
generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix
Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sunxi-tools')
-rw-r--r--package/sunxi-tools/sunxi-tools.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/sunxi-tools/sunxi-tools.mk b/package/sunxi-tools/sunxi-tools.mk
index 9bb0b9eff9..c193769c10 100644
--- a/package/sunxi-tools/sunxi-tools.mk
+++ b/package/sunxi-tools/sunxi-tools.mk
@@ -12,13 +12,13 @@ HOST_SUNXI_TOOLS_DEPENDENCIES = host-libusb host-pkgconf
FEX2BIN = $(HOST_DIR)/usr/bin/fex2bin
define HOST_SUNXI_TOOLS_BUILD_CMDS
- $(HOST_MAKE_ENV) $(MAKE) CC="$(HOSTCC)" PREFIX=$(HOST_DIR)/usr \
+ $(HOST_MAKE_ENV) $(MAKE) CC="$(HOSTCC)" PREFIX=$(HOST_DIR) \
EXTRA_CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" \
-C $(@D) tools
endef
define HOST_SUNXI_TOOLS_INSTALL_CMDS
- $(HOST_MAKE_ENV) $(MAKE) PREFIX=$(HOST_DIR)/usr \
+ $(HOST_MAKE_ENV) $(MAKE) PREFIX=$(HOST_DIR) \
-C $(@D) install-tools
endef
OpenPOWER on IntegriCloud