backports: add support for backport_srctree
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sat, 13 Apr 2013 14:13:38 +0000 (07:13 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 13 Apr 2013 20:52:40 +0000 (22:52 +0200)
commite75f7716c994c17b8e926e107e76e26d0cb34a5e
treed138b22e897d9f47e97d7dab1eaed485b36e3506
parent70fd5f3ab3332f1544fabec293fce2c9abe8fa64
backports: add support for backport_srctree

The Linux kernel uses srctree to help prefix header files
and scripts. When backporting we want to be able to override
driver's Makefiles' usage of srctree with our own. Since we
can't easily and sanely override the srctree itself without
causing a lot of issues just use the python generator to
do the change for us on the target Makefiles. This addresses
the srctree usage case and where ccflags was used without
prefixing any parent directory when used with drivers, the
kernel tends to fix that with addtree command.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
[also remove now unnecessary patches]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/Makefile.kernel
gentree.py
patches/collateral-evolutions/network/35-fix-makefile-includes/INFO [deleted file]
patches/collateral-evolutions/network/35-fix-makefile-includes/drivers_net_wireless_brcm80211_brcmfmac_Makefile.patch [deleted file]
patches/collateral-evolutions/network/35-fix-makefile-includes/drivers_net_wireless_brcm80211_brcmsmac_Makefile.patch [deleted file]
patches/collateral-evolutions/network/35-fix-makefile-includes/drivers_net_wireless_brcm80211_brcmutil_Makefile.patch [deleted file]
patches/collateral-evolutions/network/35-fix-makefile-includes/drivers_net_wireless_rtl818x_rtl8180_Makefile.patch [deleted file]
patches/collateral-evolutions/network/35-fix-makefile-includes/drivers_net_wireless_rtl818x_rtl8187_Makefile.patch [deleted file]