mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix 2.6 modules pattern using a common LINUX_KMOD_SUFFIX variable,
fix alsa 2.6 build when arch != mipsel git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2311 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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)),)
|
||||
|
||||
Reference in New Issue
Block a user