mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-06 10:37:29 +03:00
mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33030 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3b62de75ae
commit
ba611b292b
@ -1331,9 +1331,6 @@ define Build/Prepare
|
|||||||
rm -rf $(PKG_BUILD_DIR)/include/linux/bcma
|
rm -rf $(PKG_BUILD_DIR)/include/linux/bcma
|
||||||
rm -rf $(PKG_BUILD_DIR)/include/net/bluetooth/
|
rm -rf $(PKG_BUILD_DIR)/include/net/bluetooth/
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h
|
rm -f $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h
|
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h
|
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h
|
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/wl12xx.h
|
rm -f $(PKG_BUILD_DIR)/include/linux/wl12xx.h
|
||||||
rm -f $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h
|
rm -f $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h
|
||||||
rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h
|
rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h
|
||||||
@ -1348,6 +1345,12 @@ ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
|
||||||
|
cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
|
||||||
|
cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/kmod)
|
$(call Build/Compile/kmod)
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user