fix libnl include issues which broke a few packages
SVN-Revision: 9581
This commit is contained in:
parent
cbb4e6b5a2
commit
c439768c9a
2 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue