Changeset 36976


Ignore:
Timestamp:
2013-06-19T23:37:56+02:00 (5 years ago)
Author:
hauke
Message:

acx-mac80211: make it compile with the new backports mac80211

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/acx-mac80211/Makefile

    r36481 r36976  
    181181        $(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS), -DCONFIG_CFG80211_DEBUGFS -DCONFIG_MAC80211_DEBUGFS) \ 
    182182        $(if $(CONFIG_PACKAGE_MAC80211_MESH), -DCONFIG_MAC80211_MESH) \ 
     183        -DBACKPORTED_KERNEL_NAME=\\\"$(PKG_SOURCE)\\\" \ 
     184        -DBACKPORTED_KERNEL_VERSION=\\\"$(PKG_SOURCE_VERSION)\\\" \ 
     185        -DBACKPORTS_VERSION=\\\"unknown\\\" \ 
    183186 
    184187define Build/Compile 
     
    189192                $(PKG_EXTRA_KCONFIG) \ 
    190193                EXTRA_CFLAGS="$(PKG_EXTRA_CFLAGS) -DCONFIG_ACX_MAC80211_VERSION=\"KERNEL_VERSION(3,10,0)\"" \ 
    191                 LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211/uapi -I$(STAGING_DIR)/usr/include/mac80211 \ 
     194                LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211-backport/uapi -I$(STAGING_DIR)/usr/include/mac80211-backport \ 
     195                        -I$(STAGING_DIR)/usr/include/mac80211/uapi -I$(STAGING_DIR)/usr/include/mac80211 \ 
    192196                        -I$(LINUX_DIR)/include -I$(LINUX_DIR)/include/$(LINUX_UAPI_DIR) \ 
    193197                        -I$(LINUX_DIR)/include/generated/uapi/ -Iarch/$(LINUX_KARCH)/include \ 
    194198                        -Iarch/$(LINUX_KARCH)/include/$(LINUX_UAPI_DIR) \ 
    195199                        -include generated/autoconf.h \ 
    196                         -include linux/compat-2.6.h" \ 
     200                        -include backport/backport.h " \ 
    197201                V="$(V)" \ 
    198202                modules 
Note: See TracChangeset for help on using the changeset viewer.