projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not treat warnings as errors for madwifi (needed for gcc4)
[openwrt.git]
/
openwrt
/
target
/
linux
/
package
/
switch
/
src
/
Makefile
diff --git
a/openwrt/target/linux/package/switch/src/Makefile
b/openwrt/target/linux/package/switch/src/Makefile
index
dd8a426
..
4c5f911
100644
(file)
--- a/
openwrt/target/linux/package/switch/src/Makefile
+++ b/
openwrt/target/linux/package/switch/src/Makefile
@@
-10,19
+10,10
@@
# 2 of the License, or (at your option) any later version.
#
# 2 of the License, or (at your option) any later version.
#
-KERNEL_VERSION = $(shell uname -r | cut -d. -f1,2)
-
obj-m := switch-core.o switch-adm.o switch-robo.o
obj-m := switch-core.o switch-adm.o switch-robo.o
-ifeq ($(KERNEL_VERSION),2.4)
-
-O_TARGET := $(obj-m)
+ifeq ($(MAKING_MODULES),1)
+export-objs := switch-core.o
-include $(TOPDIR)/Rules.make
-include $(TOPDIR)/Rules.make
-
endif
endif
-
-all: modules
-
-modules:
- $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) TOPDIR="$(KERNEL_DIR)" modules
This page took
0.022257 seconds
and
4
git commands to generate.