firmware-utils/mkzynfw: add support for the NBG460N board
[openwrt.git] / package / swconfig / Makefile
index bec94a1..5880e98 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
-PKG_RELEASE:=3
+PKG_RELEASE:=5
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 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
 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 := \
   TITLE:=Switch configuration utility
 endef
 
 TARGET_CPPFLAGS := \
+       -D_GNU_SOURCE \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        -I$(LINUX_DIR)/include \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        -I$(LINUX_DIR)/include \
+       -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include \
        -I$(PKG_BUILD_DIR) \
        $(TARGET_CPPFLAGS)
 
        -I$(PKG_BUILD_DIR) \
        $(TARGET_CPPFLAGS)
 
This page took 0.027002 seconds and 4 git commands to generate.