summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/busybox/Makefile2
-rw-r--r--target/packages/pkg-available/development1
2 files changed, 3 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.
diff --git a/target/packages/pkg-available/development b/target/packages/pkg-available/development
index 280982068..7b387693a 100644
--- a/target/packages/pkg-available/development
+++ b/target/packages/pkg-available/development
@@ -17,6 +17,7 @@ config ADK_PKG_DEVELOPMENT
select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC
select ADK_PACKAGE_LIBNCURSES
select ADK_PACKAGE_LIBNCURSES_DEV
+ select ADK_PACKAGE_LIBTIRPC_DEV
select ADK_PACKAGE_M4
select ADK_PACKAGE_MAKE
select ADK_PACKAGE_PATCH