summaryrefslogtreecommitdiffstats
path: root/plugins/examples/host-toolchain/pkgconf-host.mk
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/examples/host-toolchain/pkgconf-host.mk')
-rw-r--r--plugins/examples/host-toolchain/pkgconf-host.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/examples/host-toolchain/pkgconf-host.mk b/plugins/examples/host-toolchain/pkgconf-host.mk
index c44230b..c971044 100644
--- a/plugins/examples/host-toolchain/pkgconf-host.mk
+++ b/plugins/examples/host-toolchain/pkgconf-host.mk
@@ -16,11 +16,11 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && ./autogen.sh
- cd '$(1)' && ./configure \
+ cd '$(SOURCE_DIR)' && ./autogen.sh
+ cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS)
- $(MAKE) -C '$(1)' -j '$(JOBS)'
- $(MAKE) -C '$(1)' -j 1 install
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install
# create pkg-config script with relative paths
(echo '#!/bin/sh'; \