From b021a87716ad252631516f4290677d69e0e02e93 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 27 Sep 2006 17:33:45 +0000 Subject: fix ppp compile on osx git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4869 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/ppp/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'package/ppp/Makefile') diff --git a/package/ppp/Makefile b/package/ppp/Makefile index 680076857e..b5a317bd03 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -23,6 +23,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_BUILDDEP:=libpcap linux-atm include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/kernel.mk define Package/ppp/Default SECTION:=net @@ -91,6 +92,14 @@ define Package/pppstats This package contains an utility to report PPP statistics. endef +define Build/Configure +$(call Build/Configure/Default,, \ + UNAME_S="Linux" \ + UNAME_R="$(LINUX_VERSION)" \ + UNAME_M="$(ARCH)" \ +) +endef + define Build/Compile rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR)/usr -- cgit v1.2.3