summaryrefslogtreecommitdiff
path: root/mk/macros.packages.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-10-06 15:21:46 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-10-06 15:21:46 +0200
commit15b9a1baf51b7a15a68b8496d20c063ff8074a35 (patch)
tree9686ce873349b29d4616e8c7a91c7efa26785833 /mk/macros.packages.mk
parent6a40f2f84bc5dd0b4664bef9e4f3309e21826ecb (diff)
downloadembtoolkit-15b9a1baf51b7a15a68b8496d20c063ff8074a35.tar.gz
embtoolkit-15b9a1baf51b7a15a68b8496d20c063ff8074a35.tar.bz2
embtoolkit-15b9a1baf51b7a15a68b8496d20c063ff8074a35.tar.xz
Build system: replace HOSTTOOLS -> embtk_htools
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.packages.mk')
-rw-r--r--mk/macros.packages.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk
index 0851979..4122650 100644
--- a/mk/macros.packages.mk
+++ b/mk/macros.packages.mk
@@ -308,12 +308,12 @@ endef
# Usage:
# $(call embtk_configure_hostpkg,PACKAGE)
#
-__embtk_hostpkg_rpathldflags = "-Wl,-rpath,$(HOSTTOOLS)/usr/lib"
+__embtk_hostpkg_rpathldflags = "-Wl,-rpath,$(embtk_htools)/usr/lib"
__embtk_hostpkg_rpath = $(strip $(if $(__embtk_pkg_setrpath), \
$(__embtk_hostpkg_rpathldflags)))
-__embtk_hostpkg_ldflags = -L$(HOSTTOOLS)/usr/lib $(__embtk_hostpkg_rpath)
-__embtk_hostpkg_cppflags = -I$(HOSTTOOLS)/usr/include
+__embtk_hostpkg_ldflags = -L$(embtk_htools)/usr/lib $(__embtk_hostpkg_rpath)
+__embtk_hostpkg_cppflags = -I$(embtk_htools)/usr/include
define embtk_configure_hostpkg
$(if $(EMBTK_BUILDSYS_DEBUG),
$(call embtk_pinfo,"Configure $(__embtk_pkg_package) for host..."))
@@ -331,7 +331,7 @@ define embtk_configure_hostpkg
$(CONFIG_SHELL) $(__embtk_pkg_srcdir)/configure \
--build=$(HOST_BUILD) --host=$(HOST_ARCH) \
--prefix=$(strip $(if $(__embtk_pkg_prefix), \
- $(__embtk_pkg_prefix),$(HOSTTOOLS)/usr)) \
+ $(__embtk_pkg_prefix),$(embtk_htools)/usr)) \
$(__embtk_pkg_configureopts)
$(Q)touch $(__embtk_pkg_dotconfigured_f)
endef