summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-09-27 11:17:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-09-27 11:17:31 +0200
commite3ff8fd3806ec3b84aa0354820dd0d37b81317d2 (patch)
treed72183a46f4e33a92ad11ba4e304e445c2e15e8c /package/busybox
parent78cb368c1f1fd69551be74da3f1c6698f35dc68a (diff)
use include path for native builds
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 946c85b18..6b40bf082 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -40,6 +40,8 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \
-C ${WRKBUILD}
ifneq (${ADK_NATIVE},y)
BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-pthread -ltirpc' EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/tirpc"
+else
+BB_MAKE_FLAGS+= EXTRA_CPPFLAGS="-I/usr/include/tirpc"
endif
# XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not.