X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/85f89d5d09dac0d926aaead2615b154ff4beb65a..bab04c244dd1758e3376ca1caaad7ca09706d2dc:/package/ead/Makefile diff --git a/package/ead/Makefile b/package/ead/Makefile index 280b51d97..8c3d4701c 100644 --- a/package/ead/Makefile +++ b/package/ead/Makefile @@ -4,16 +4,17 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk PKG_NAME:=ead PKG_RELEASE:=1 -PKG_BUILD_DEPENDS:=pcap +PKG_BUILD_DEPENDS:=libpcap +PKG_BUILD_DIR:=$(BUILD_DIR)/ead include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/kernel.mk define Package/ead SECTION:=net @@ -30,13 +31,14 @@ endef CONFIGURE_PATH = tinysrp TARGET_CFLAGS += \ + -I$(LINUX_DIR)/include \ -I$(PKG_BUILD_DIR) \ -I$(PKG_BUILD_DIR)/tinysrp \ - -I$(STAGING_DIR)/usr/include + $(TARGET_CPPFLAGS) MAKE_FLAGS += \ CONFIGURE_ARGS="$(CONFIGURE_ARGS)" \ - LIBS="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a" \ + LIBS_EADCLIENT="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a" \ LIBS_EAD="$(PKG_BUILD_DIR)/tinysrp/libtinysrp.a $(STAGING_DIR)/usr/lib/libpcap.a" \ CFLAGS="$(TARGET_CFLAGS)"