From b21dde1691020778f67fac1d943be24d7af9da07 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 10 Oct 2006 23:04:46 +0000
Subject: [PATCH] more fixes

SVN-Revision: 5048
---
 openwrt/include/kernel-build.mk | 1 +
 openwrt/rules.mk                | 1 +
 2 files changed, 2 insertions(+)

diff --git a/openwrt/include/kernel-build.mk b/openwrt/include/kernel-build.mk
index 6aefe0b891..5544a82e37 100644
--- a/openwrt/include/kernel-build.mk
+++ b/openwrt/include/kernel-build.mk
@@ -4,6 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
+include $(INCLUDE_DIR)/host.mk
 -include $(INCLUDE_DIR)/modules-$(KERNEL).mk
 
 LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index b9859dbd3f..be269e77f3 100644
--- a/openwrt/rules.mk
+++ b/openwrt/rules.mk
@@ -84,6 +84,7 @@ RSTRIP:= \
 
 # where to build (and put) .ipk packages
 IPKG:= \
+  PATH="$(STAGING_DIR)/bin:$(PATH)" \
   IPKG_TMP=$(BUILD_DIR)/tmp \
   IPKG_INSTROOT=$(TARGET_DIR) \
   IPKG_CONF_DIR=$(STAGING_DIR)/etc \
-- 
GitLab