mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 06:14:37 +02:00
fix a typo in the compat-wireless build speedup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17337 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
90379b9c68
commit
e4fd841854
@ -14,8 +14,8 @@
|
|||||||
-KERNEL_SUBLEVEL = $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
|
-KERNEL_SUBLEVEL = $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
|
||||||
+ifneq ($(wildcard $(KLIB_BUILD)/Makefile),)
|
+ifneq ($(wildcard $(KLIB_BUILD)/Makefile),)
|
||||||
+COMPAT_LATEST_VERSION = 32
|
+COMPAT_LATEST_VERSION = 32
|
||||||
+KERNEL_SUBLEVEL ?= $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
|
+KERNEL_SUBLEVEL := $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
|
||||||
+COMPAT_VERSIONS ?= $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
|
+COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
|
||||||
+$(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_WIRELESS_$(ver)=y))
|
+$(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_WIRELESS_$(ver)=y))
|
||||||
|
|
||||||
-ifeq ($(shell test $(KERNEL_SUBLEVEL) -lt 25 && echo yes),yes)
|
-ifeq ($(shell test $(KERNEL_SUBLEVEL) -lt 25 && echo yes),yes)
|
||||||
@ -86,7 +86,7 @@
|
|||||||
ifneq ($(CONFIG_PCMCIA),)
|
ifneq ($(CONFIG_PCMCIA),)
|
||||||
|
|
||||||
-ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
|
-ifeq ($(shell test $(KERNEL_SUBLEVEL) -le 26 && echo yes),yes)
|
||||||
+ifdef CONFIG_COMPAT_WIRELESS_25
|
+ifdef CONFIG_COMPAT_WIRELESS_27
|
||||||
CONFIG_LIBERTAS=n
|
CONFIG_LIBERTAS=n
|
||||||
CONFIG_LIBERTAS_CS=n
|
CONFIG_LIBERTAS_CS=n
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user