summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2012-05-04compat-wirless: prefix release files with dotLuis R. Rodriguez
This prefixes these files with a dot: compat_base_tree --> .compat_base_tree compat_base_tree_version --> .compat_base_tree_version compat_version --> .compat_version Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-04-03compat-wireless: skip forcing .config includeLuis R. Rodriguez
We know that .config will exist but it will not exist on the make clean target. So skip that. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-31compat-wireless: reorder config includesLuis R. Rodriguez
We need to include first the kernel config as otherwise we end up trying to compile drivers which were disabled for older kernels. This fixes compilation on 2.6.28 where carl9170 was being compiled although we had disabled it on config.mk. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-09compat-wireless: fix jobserverLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: add Makefile to PHONYLuis R. Rodriguez
Debugging Make shows that 18 variations of Makefile are checked for targets on the Makefile prior to process the first real target. Stop this nonsense. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: remove recurssive call on building modulesLuis R. Rodriguez
The recursion call to build modules is not required. It was added due to the fact that we now included a new file, CONFIG_COMPAT and we needed it at build time. We do not need the recursive call given that the kernel will already call the same Makefile later when building modules. We take advantage of this fact and simply ensure we build CONFIG_COMPAT when processing our rules. We do not define a direct target for CONFIG_COMPAT given that we want to force a regeneration of the file and compat autoconf, whenever the build environment changes. We still add a dummy CONFIG_COMPAT target rule to avoid Make looking rules for it. In order for this build to work we now just need to export CFLAGS so that the variables defined on the first pass are available later at module build time. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: use PWD for file version detailsLuis R. Rodriguez
The CFLAGS were using some local files to add some definition of some variables later used by the compat module. Lets be careful to use only the locally defined files. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: use PWD for file definitionLuis R. Rodriguez
Instead of using PWD in random places just use it to defint he direct file once. This will allow us to later move variables that use PWD to another place. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-03-08compat-wireless: Handle name change from iwlagn to iwlwifi in 3.2Don Fry
With linux-3.2 the iwlagn driver is renamed iwlwifi. For some kernels (like 3.1.5) this causes the non-compat iwlagn.ko to try and run against the compat mac80211 resulting in an oops. This change prevents the non-compat iwlagn.ko from being loaded. Signed-off-by: Don Fry <donald.h.fry@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-28compat-wireless: fix make installLuis R. Rodriguez
This issue was introduced via this patch: commit 802ea47e6316aea285f2c30d95763dd7c320eec1 Author: Rick Farina <sidhayn@gmail.com> Date: Fri Feb 24 21:28:40 2012 -0500 compat-wireless: replace modprobe -l with functional equivilent Fix the regression by properly using brackets on the conditional check and also guaranteeing we output something upon success. Not sure how this could have worked. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-24compat-wireless: export MAKELuis R. Rodriguez
This is usefulf to propagate the same MAKE variable preference over scripts used. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-24compat-wireless: replace modprobe -l with functional equivilentRick Farina
modprobe -l is either deprecated or removed, so let's replace it testing [ -z "$(DESTDIR)" ] appeared to only be need due to the fact that *enable was run directly instead of being run with $(DESTDIR)/ Testing for module presence should now work properly on modern distros and *enable will be run properly with or without $(DESTDIR) being set. Signed-off-by: Rick Farina <sidhayn@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-24compat-wireless: use compat's CONFIG_COMPAT_KERNEL_* variablesLuis R. Rodriguez
compat already deals with defining CONFIG_COMPAT_KERNEL_* variables for us for both makefiles and C / header files. The C / header file usage was fixed in the last commit, this removes internal usage we had for the Makefiles in preference over the same mechanism. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-24compat-wireless: start using CONFIG_COMPAT_KERNEL_ in codeLuis R. Rodriguez
This lets use the defined CONFIG_COMPAT_KERNEL_* in C code and header files. Next step is to remove the Makefile hackery to defines CONFIG_COMPAT_KERNEL_* stuff as we have a generated file for us now. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-23cleanup modprobe callsRick Farina
There are a lot of needless calls to "modprobe -l <drivername>" None of this is needed, and it errors when modprobe -l is removed (such as when KMOD replaces modutils). Since modprobe -l is already legacy, let's just remove it. Signed-off-by: Rick Farina <sidhayn@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-10compat-wireless: add alx driver and backportLuis R. Rodriguez
This adds backport support for the alx driver. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2012-02-07compat-wireless: Calling make directly is not permittedRick Farina
make was being called directly, fix to $(MAKE) Signed-of-By: Rick Farina <sidhayn@gmail.com>
2012-01-18compat-wireless: check if modprobe exists before using itLuciano Coelho
If you're cross-compiling compat-wireless on a different host, you can't reliably use modprobe. The host system may not even have modprobe, so it doesn't make sense to run modprobe, unless you're installing the modules on the target machine. The modprobe command was being used unconditionally to set the MADWIFI and OLD_IWL variables. This commit adds a check to see whether modprobe exists before trying to use. It also adds a dependency on the modprobe commands to all recipes that rely on it, so we fail more gracefully if modprobe doesn't exist in the system. Reported by: William List <wlist@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
2012-01-16compat-wireless: build: Throw error if space in pathDominique Martinet
Because of make limitations, the build will fail if there are spaces in the path leading to the compat-wireless directory. I tried to make it work anyway for a while and, while it probably is possible, it would involve rewriting part of kbuild and well... This at least throws up nicely if there is a space in the path. Signed-off-by: Dominique Martinet <asmadeus@codewreck.org> Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
2011-10-13compat-wireless: adapt moving brcm80211 to main areaHauke Mehrtens
brcm80211 is no staging driver any more and can be found in the main area where all the other wireless drivers are now. There where some changes needed for the move. And BRCMFMAC does not depend on WEXT any more so remove that from config. BRCMFMAC does not build with kernel < 2.6.29, because ndev->netdev_ops = NULL and ndev->netdev_ops == &brcmf_netdev_ops_pri are not supported by the backport code for netdev_ops. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2011-08-22compat-wireless: add many fixes to driver-selectHauke Mehrtens
after driver-select was used it built often not needed modules. This is now fixed for most options. Most of these problems where introduced while a new driver was added to compat-wireless, but driver-select was not updated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2011-08-22compat-wireless: adapt moving of ethernet driversHauke Mehrtens
The ethernet drivers where are not directly under drivers/net any more but now in drivers/net/ethernet/<vendor>. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2011-08-11compat-wireless: ath6kl moved to main area.Hauke Mehrtens
ath6kl is now in the kernel main area and not in staging any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2011-06-14compat-wireless: add bcmaHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2010-12-20compat-wireless: complete rtlwifi/RTL8192CE supportWalter Goldens
enable driver-select for rtlwifi/rtl8192ce complete renaming rtlwifi entries for compat-wireless Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
2010-11-23Revert "Revert "compat-wireless: apply changes needed after wl1271->wl12xx ↵Luis R. Rodriguez
renaming"" This reverts commit 67146a01bd5061ac685fe82147a8b306014a903c. Conflicts: patches/25-multicast-list_head.patch Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-11-22Revert "compat-wireless: apply changes needed after wl1271->wl12xx renaming"Luis R. Rodriguez
Not yet This reverts commit 3bd28daf2ad78adf652c3e6b74645b7fa0cf3fc2.
2010-11-22compat-wireless: apply changes needed after wl1271->wl12xx renamingLuciano Coelho
This patch changes the occurrences of wl1271 in the Makefile, README and in the scripts to wl12xx, since the driver has been renamed. Also remove the wl1271_ prefix from the filenames. Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
2010-10-22compat-wireless: update bluetooth in MakefileWalter Goldens
update bluetooth in Makefile Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
2010-10-19Do not compile staging directory for bt target. Signed-off-by: Bala ↵Bala Shanmugam
Shanmugam <sbalashanmugam@atheros.com>
2010-10-18compat-wireless: enable uninstall for staging & atlxxWalter Goldens
- enable 'make uninstall' for staging - brcm80211, ath6kl and ethernet atlxx - add atlxx to 'modprobe -l' list Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
2010-10-17compat-wireless: update Makefile modulesWalter Goldens
update "modprobe -l X" list in Makefile Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
2010-09-27compat-wireless: fix uninstall for compatLuis R. Rodriguez
comapt module was not being removed. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-09-13compat-wireless: add brcm80211 driverHauke Mehrtens
This driver was compile tested on kernel 2.6.29 to 2.6.36. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2010-08-30compat-wireless: enable ath6kl from being includedLuis R. Rodriguez
ath6kl is not yet upstream but is on its way. For now just display and copy ath6kl if its present on linux-next.git Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-05-29compat-wireless: update clean scriptsHauke Mehrtens
Without this patch make fails after calling make clean because compat_* files were deleted. Delete all files generated by scripts/admin-update.sh in scripts/admin-clean.sh and not in make clean Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2010-05-24Revert "compat-wireless: run ./scripts/compat_firmware_install"Luis R. Rodriguez
We were calling this script.. it was just being called from the compat/ directory. Revert this change. This reverts commit 4e916644a5810da831bb716ea274c72967cf8d24.
2010-05-24compat-wireless: remove some new files upon make cleanLuis R. Rodriguez
The new versioning files were not being removed. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-05-24compat-wireless: run ./scripts/compat_firmware_installLuis R. Rodriguez
We were not running this before so users of compat-wireless would not get the compat_firmware stuff properly installed. Since the compat_firmware_*() API is used for *all* compat-wireless drivers this should mean loading of the firmware would have failed for all those requiring firmware. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-05-17Fix the CREL compat-wireless release name on top level MakefileLuis R. Rodriguez
The new compat-wireless release name is on the compat_version file so use that on the Makefile. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-05-17Use the defines to tag the compat moduleLuis R. Rodriguez
The compat module now has read-only module parameters which we can help tune to help identify the exact upstream base tree used for this backport, as well as the specific tree used to make it. For example when building a stable compat-wireless release based on the linux-2.6-allstable.git git tree, using the tree as of the 'v2.6.34' tag we'd get: $ sudo grep '' /sys/module/compat/parameters/compat_ /sys/module/compat/parameters/compat_base_tree:linux-2.6-allstable.git /sys/module/compat/parameters/compat_base_tree_version:v2.6.34 /sys/module/compat/parameters/compat_version:v2.6.34-rc4-4-g9ace871 The last file indicates compat-wireless.git was used, but specifically that the v2.6.34-rc4 branch was used and that 4 patches have been applied on top of that tree. The top sha1sum commit on that tree is 9ace871. These files will work even if you have built compat-wireless completely as built-in to your kernel. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-05-17Split up the NOSTDINC_FLAGS into a few linesLuis R. Rodriguez
No functional changes here. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-01-20Copy over the new udev scripts/rules from compat.gitLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-01-06Remove pointless bt-install-scripts extra targetLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2010-01-06compat-wireless: Activate ssb and libertasHauke Mehrtens
Pcmcia is backported now. So activate ssb and libertas again. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2009-12-28compat-2.6: New targets to compile bluetooth aloneBala Shanmugam
Compiling compat-pacakage consumes more time as both wireless and bluetooth modules are compiled. For someone who wants to use bluetooth alone compiling and installing wireless modules is unnecessary and is time consuming. New targets are declared to compile, install, uninstall, load and unload bluetooth modules seperately. Usage is updated in README. Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
2009-12-18compat-wireless: modules declared as PHONY target in MakefileBala Shanmugam
When a particular file alone is modified in compat package, it is not compiled with make. To compile the modified file compat package needs to be cleaned up and all files need to be compiled. This is because all files are compiled in modules target, and file by name modules is not generated. So this target will be considered up-to-date once compiled. modules target is declared as PHONY target to avoid this problem. I feel config.mk need not be included when KERNELRELEASE is not NULL as it degrades the performance and doesn't make any difference. Please comment. Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
2009-12-18compat-wireless:Fixed bluetooth modules compilation issues.Bala Shanmugam
Bluetooth modules in net/bluetooth were not compiled as CONFIG macro in config.mk and Makefile are different. Bluetooth modules has compilation issues as source code is taken from linux-next.git tree. Fixed the same. Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
2009-12-11Remove -e from depmodLuis R. Rodriguez
Its not required. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2009-12-11Add backport for Atheros ethernet drivers: atl1x, atl1e, atl1cLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>