From 2cf245d5905a3a04ed9b28bb16793c5dc7f50182 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Mar 2007 21:12:39 +0000 Subject: [PATCH] fix rp-pppoe compile SVN-Revision: 6682 --- net/rp-pppoe/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile index ce8aff3bf5..fa0b2b5fcc 100644 --- a/net/rp-pppoe/Makefile +++ b/net/rp-pppoe/Makefile @@ -50,18 +50,11 @@ define Package/rp-pppoe-sniff TITLE+= sniffer endef -define Build/Configure - $(call Build/Configure/Default,, \ - ac_cv_path_PPPD=/usr/sbin/pppd, \ - src \ - ) -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR)/src \ - RPM_INSTALL_ROOT="$(PKG_INSTALL_DIR)" \ - all install -endef +TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/src/libevent +CONFIGURE_PATH := ./src +CONFIGURE_ARGS += ac_cv_path_PPPD=/usr/sbin/pppd +MAKE_FLAGS := RPM_INSTALL_ROOT="$(PKG_INSTALL_DIR)" install +MAKE_PATH := ./src define Package/rp-pppoe-client/install $(INSTALL_DIR) $(1)/etc/init.d -- 2.30.2