diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-19 23:03:09 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-11-19 23:03:09 +0000 |
commit | 3fa28b55eaa173d2e17ccaf551bacf88e5b30beb (patch) | |
tree | 33cd34442a64e65ab913b14544d434d0dda62a02 /package | |
parent | cdb32999d1cace40f283e9d5b3d291b125a6a538 (diff) |
fix libnl include issues which broke a few packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/hostapd/Makefile | 2 | ||||
-rw-r--r-- | package/libnl/Makefile | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index fb8b92d43..f196828c9 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -83,7 +83,7 @@ define Build/ConfigureTarget endef define Build/CompileTarget - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/madwifi -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include" \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/madwifi -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include/libnl -I$(STAGING_DIR)/usr/include" \ $(MAKE) -C $(PKG_BUILD_DIR)/hostapd.$(1)/hostapd \ $(TARGET_CONFIGURE_OPTS) \ LIBS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib \ diff --git a/package/libnl/Makefile b/package/libnl/Makefile index 28958f4a5..d232c77b3 100644 --- a/package/libnl/Makefile +++ b/package/libnl/Makefile @@ -39,7 +39,8 @@ endef ifneq ($(CONFIG_LINUX_2_6_23),) define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/* $(1)/ - $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/ + mkdir -p $(1)/usr/include/libnl + $(CP) $(PKG_BUILD_DIR)/include/linux $(1)/usr/include/libnl/ endef define Build/UninstallDev |