summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/mk/pkg-macros/configure.mk6
-rw-r--r--core/mk/pkg-macros/install.mk9
2 files changed, 5 insertions, 10 deletions
diff --git a/core/mk/pkg-macros/configure.mk b/core/mk/pkg-macros/configure.mk
index 2761c7b..5d2151c 100644
--- a/core/mk/pkg-macros/configure.mk
+++ b/core/mk/pkg-macros/configure.mk
@@ -170,9 +170,8 @@ define embtk_wafconfigure_pkg
PKG_CONFIG_PATH="$(EMBTK_PKG_CONFIG_PATH)" \
PKG_CONFIG_LIBDIR="$(EMBTK_PKG_CONFIG_LIBDIR)" \
$(__embtk_pkg_configureenv) $(__embtk_pkg_scanbuild) \
- $(embtk_waf) configure \
+ ./waf configure \
--prefix=/usr \
- --out=$(__embtk_pkg_builddir) \
$(__embtk_pkg_configureopts)
$(Q)$(call __embtk_setconfigured_pkg,$(1))
endef
@@ -193,10 +192,9 @@ define embtk_wafconfigure_hostpkg
$(if $(__embtk_pkg_noccache),,CC=$(HOSTCC_CACHED)) \
$(if $(__embtk_pkg_noccache),,CXX=$(HOSTCXX_CACHED)) \
$(__embtk_pkg_configureenv) \
- $(embtk_waf) configure \
+ ./waf configure \
--prefix=$(strip $(if $(__embtk_pkg_prefix), \
$(__embtk_pkg_prefix),$(embtk_htools)/usr)) \
- --out=$(__embtk_pkg_builddir) \
$(__embtk_pkg_configureopts)
$(Q)$(call __embtk_setconfigured_pkg,$(1))
endef
diff --git a/core/mk/pkg-macros/install.mk b/core/mk/pkg-macros/install.mk
index 79d6c98..476155a 100644
--- a/core/mk/pkg-macros/install.mk
+++ b/core/mk/pkg-macros/install.mk
@@ -210,16 +210,13 @@ define __embtk_install_hostpkg_make
$(call __embtk_postinstall_pkg,$(1))
endef
-__embtk_waf_build = cd $(__embtk_pkg_builddir); \
- $(embtk_waf) build $(J) --progress
+__embtk_waf_build = cd $(__embtk_pkg_srcdir); ./waf build $(J) --progress
-__embtk_waf_install = cd $(__embtk_pkg_builddir); \
- $(embtk_waf) install --progress \
+__embtk_waf_install = cd $(__embtk_pkg_srcdir); ./waf install --progress \
$(if $(__embtk_pkg_nodestdir),, \
--destdir=$(embtk_sysroot)$(if $(__embtk_pkg_sysrootsuffix),/$(__embtk_pkg_sysrootsuffix)))
-__embtk_waf_hostinstall = cd $(__embtk_pkg_builddir); \
- $(embtk_waf) install --progress \
+__embtk_waf_hostinstall = cd $(__embtk_pkg_srcdir); ./waf install --progress \
$(if $(__embtk_pkg_destdir),--destdir=$(__embtk_pkg_destdir))
define __embtk_install_pkg_waf