madwifi: fix a header file conflict with iptables
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 Apr 2009 14:55:11 +0000 (14:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 23 Apr 2009 14:55:11 +0000 (14:55 +0000)
SVN-Revision: 15354

package/madwifi/Makefile
package/wprobe/Makefile

index 433cb61..cfa9f44 100644 (file)
@@ -176,7 +176,7 @@ MADWIFI_INC = \
        -I$(PKG_BUILD_DIR)/ath \
        -I$(PKG_BUILD_DIR)/ath_hal \
        -I$(PKG_BUILD_DIR)/net80211 \
-       -I$(STAGING_DIR)/usr/include \
+       -I$(STAGING_DIR)/usr/include/wprobe \
        -include $(PKG_BUILD_DIR)/include/compat.h
 
 MAKE_ARGS:= \
index 69c4507..bbc2b88 100644 (file)
@@ -103,8 +103,8 @@ define Build/Compile
 endef
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/include
-       $(CP) $(PKG_BUILD_DIR)/kernel/linux $(1)/usr/include
+       $(INSTALL_DIR) $(1)/usr/include/wprobe
+       $(CP) $(PKG_BUILD_DIR)/kernel/linux $(1)/usr/include/wprobe
 endef
 
 define Package/wprobe-info/install