fix rp-l2tp build

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6679 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-24 20:54:50 +00:00
parent 9bc7a17e4d
commit f09cfea510

View File

@ -50,13 +50,11 @@ define Package/rp-l2tpd-mod-ppp
endef
# uses GNU configure
MAKE_FLAGS += \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
TARGET_CFLAGS := -I$(PKG_BUILD_DIR)/libevent $(TARGET_CFLAGS)
define Package/rp-l2tpd/install
$(INSTALL_DIR) $(1)/etc