projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix 2.6 modules pattern using a common LINUX_KMOD_SUFFIX variable,
[openwrt.git]
/
openwrt
/
target
/
linux
/
rules.mk
diff --git
a/openwrt/target/linux/rules.mk
b/openwrt/target/linux/rules.mk
index
2c0fa09
..
f7e1086
100644
(file)
--- a/
openwrt/target/linux/rules.mk
+++ b/
openwrt/target/linux/rules.mk
@@
-4,6
+4,11
@@
LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
-e 's/sh[234]/sh/' \
)
+ifeq ($(KERNEL),2.6)
+LINUX_KMOD_SUFFIX=ko
+else
+LINUX_KMOD_SUFFIX=o
+endif
define KMOD_template
ifeq ($$(strip $(4)),)
This page took
0.020913 seconds
and
4
git commands to generate.