DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / net / ulogd / Makefile
index b1c8e37..2095e00 100644 (file)
@@ -69,7 +69,9 @@ define Package/ulogd-mod-extra
   $(call Package/ulogd/Default)
   DEPENDS:=ulogd
   TITLE:=Extra plugins
-  DESCRIPTION:=\
+endef
+
+define Package/ulogd-mod-extra/description
        This package contains the LOCAL, LOGEMU, OPRINT, PWSNIFF and SYSLOG plugins.
 endef
 
@@ -106,6 +108,12 @@ endef
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               CFLAGS="$(TARGET_CFLAGS) \
+                       -Iinclude \
+                       -I$(PKG_BUILD_DIR)/include/ulogd \
+                       -I$(PKG_BUILD_DIR)/include \
+                       -I$(PKG_BUILD_DIR)/libipulog/include \
+                       -I$(STAGING_DIR)/usr/include" \
                all install
 endef