summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/package/fuse/Makefile1
-rw-r--r--target/linux/package/mini_fo/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/package/fuse/Makefile b/target/linux/package/fuse/Makefile
index d4171d1171..02148cabd4 100644
--- a/target/linux/package/fuse/Makefile
+++ b/target/linux/package/fuse/Makefile
@@ -67,6 +67,7 @@ $(PKG_BUILD_DIR)/.built:
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
ARCH="$(LINUX_KARCH)" \
+ PATH="$(TARGET_PATH)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
SUBDIRS="kernel" \
all install
diff --git a/target/linux/package/mini_fo/Makefile b/target/linux/package/mini_fo/Makefile
index 45c1b41305..f80c1d3639 100644
--- a/target/linux/package/mini_fo/Makefile
+++ b/target/linux/package/mini_fo/Makefile
@@ -29,6 +29,7 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
+ PATH="$(TARGET_PATH)" \
ARCH="$(LINUX_KARCH)" \
KERNELVERSION="$(KERNEL_VERSION)" \
KERNEL_SRC="$(KERNEL_DIR)" \