| OLD | NEW |
| 1 export KMODDIR?= updates | 1 export KMODDIR?= updates |
| 2 KMODDIR_ARG:= "INSTALL_MOD_DIR=$(KMODDIR)" | 2 KMODDIR_ARG:= "INSTALL_MOD_DIR=$(KMODDIR)" |
| 3 ifneq ($(origin KLIB), undefined) | 3 ifneq ($(origin KLIB), undefined) |
| 4 KMODPATH_ARG:= "INSTALL_MOD_PATH=$(KLIB)" | 4 KMODPATH_ARG:= "INSTALL_MOD_PATH=$(KLIB)" |
| 5 else | 5 else |
| 6 export KLIB:= /lib/modules/$(shell uname -r) | 6 export KLIB:= /lib/modules/$(shell uname -r) |
| 7 endif | 7 endif |
| 8 export KLIB_BUILD ?= $(KLIB)/build | 8 export KLIB_BUILD ?= $(KLIB)/build |
| 9 # Sometimes not available in the path | 9 # Sometimes not available in the path |
| 10 MODPROBE := /sbin/modprobe | 10 MODPROBE := /sbin/modprobe |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/ | 28 obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/ |
| 29 | 29 |
| 30 obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/ | 30 obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/ |
| 31 obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/ | 31 obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/ |
| 32 endif | 32 endif |
| 33 | 33 |
| 34 obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ | 34 obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ |
| 35 obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ | 35 obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ |
| 36 | 36 |
| 37 obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/ |
| 38 |
| 39 |
| 37 else | 40 else |
| 38 | 41 |
| 39 export PWD := $(shell pwd) | 42 export PWD := $(shell pwd) |
| 40 CFLAGS += \ | 43 CFLAGS += \ |
| 41 -DCOMPAT_BASE_TREE="\"$(shell cat compat_base_tree)\"" \ | 44 -DCOMPAT_BASE_TREE="\"$(shell cat compat_base_tree)\"" \ |
| 42 -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat compat_base_tree_version)\"" \ | 45 -DCOMPAT_BASE_TREE_VERSION="\"$(shell cat compat_base_tree_version)\"" \ |
| 43 -DCOMPAT_PROJECT="\"Compat-wireless\"" \ | 46 -DCOMPAT_PROJECT="\"Compat-wireless\"" \ |
| 44 -DCOMPAT_VERSION="\"$(shell cat compat_version)\"" | 47 -DCOMPAT_VERSION="\"$(shell cat compat_version)\"" |
| 45 | 48 |
| 46 # These exported as they are used by the scripts | 49 # These exported as they are used by the scripts |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 | 355 |
| 353 wlload: wlunload | 356 wlload: wlunload |
| 354 @./scripts/wlload.sh | 357 @./scripts/wlload.sh |
| 355 | 358 |
| 356 .PHONY: all clean install uninstall unload load btunload btload wlunload wlload
modules bt | 359 .PHONY: all clean install uninstall unload load btunload btload wlunload wlload
modules bt |
| 357 | 360 |
| 358 endif | 361 endif |
| 359 | 362 |
| 360 clean-files += Module.symvers Module.markers modules modules.order | 363 clean-files += Module.symvers Module.markers modules modules.order |
| 361 clean-files += $(CREL_CHECK) $(CONFIG_CHECK) | 364 clean-files += $(CREL_CHECK) $(CONFIG_CHECK) |
| OLD | NEW |