X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..45931610d1371befd1481f07d1e3f1a8d4f16029:/package/ppp/Makefile diff --git a/package/ppp/Makefile b/package/ppp/Makefile index 680076857..7d05db09a 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 @@ -32,7 +33,6 @@ endef define Package/ppp $(call Package/ppp/Default) - DEFAULT:=y DEPENDS:=+kmod-ppp TITLE:=PPP daemon DESCRIPTION:=\ @@ -50,7 +50,6 @@ endef define Package/ppp-mod-pppoe $(call Package/ppp/Default) - DEFAULT:=y DEPENDS:=ppp +kmod-pppoe TITLE:=PPPoE plugin DESCRIPTION:=\ @@ -91,6 +90,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