[package] kernel: package ocf hifn7751 and hifnHIPP drivers, allow OCF on brcm-2.4
[openwrt.git] / package / swconfig / Makefile
index a3844c5..5880e98 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
-PKG_RELEASE:=2
+PKG_RELEASE:=5
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -16,13 +16,15 @@ include $(INCLUDE_DIR)/kernel.mk
 define Package/swconfig
   SECTION:=base
   CATEGORY:=Base system
-  DEPENDS:=@LINUX_2_6 +libuci +libnl-tiny
+  DEPENDS:=@LINUX_2_6 @!TARGET_brcm47xx +libuci +libnl-tiny
   TITLE:=Switch configuration utility
 endef
 
 TARGET_CPPFLAGS := \
+       -D_GNU_SOURCE \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        -I$(LINUX_DIR)/include \
+       -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include \
        -I$(PKG_BUILD_DIR) \
        $(TARGET_CPPFLAGS)
 
This page took 0.022852 seconds and 4 git commands to generate.