X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/796a9d1091884a07817e5c140d0ff6a0b8c76235..80c6da7c34e86f6a5507eaaa288f76e3adb5aca0:/package/ead/Makefile diff --git a/package/ead/Makefile b/package/ead/Makefile index 0ecff2a8e..8c3d4701c 100644 --- a/package/ead/Makefile +++ b/package/ead/Makefile @@ -11,8 +11,10 @@ PKG_NAME:=ead PKG_RELEASE:=1 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 @@ -29,13 +31,14 @@ endef CONFIGURE_PATH = tinysrp TARGET_CFLAGS += \ + -I$(LINUX_DIR)/include \ -I$(PKG_BUILD_DIR) \ -I$(PKG_BUILD_DIR)/tinysrp \ $(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)"