summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-01-09 17:16:22 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-01-09 17:16:22 +0000
commit85fafa691005bade399dd166952996d2d6e40f95 (patch)
tree4ac4fbe6866b5ff185a0e9ee5882936b9d84c114 /openwrt/target/linux/package
parentab551ba31edf4f5d7d2049c56e646bca492366ee (diff)
downloadmtk-20170518-85fafa691005bade399dd166952996d2d6e40f95.zip
mtk-20170518-85fafa691005bade399dd166952996d2d6e40f95.tar.gz
mtk-20170518-85fafa691005bade399dd166952996d2d6e40f95.tar.bz2
x86-2.6 compile fixes for snapshot build
SVN-Revision: 2867
Diffstat (limited to 'openwrt/target/linux/package')
-rw-r--r--openwrt/target/linux/package/Makefile2
-rw-r--r--openwrt/target/linux/package/alsa/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/Makefile b/openwrt/target/linux/package/Makefile
index 5fc604d..3d28ca7 100644
--- a/openwrt/target/linux/package/Makefile
+++ b/openwrt/target/linux/package/Makefile
@@ -2,8 +2,10 @@
include $(TOPDIR)/rules.mk
ifneq ($(BOARD),ar7)
+ifneq ($(BOARD)-$(KERNEL),x86-2.6)
package-$(BR2_PACKAGE_KMOD_ALSA) += alsa
endif
+endif
package-$(BR2_PACKAGE_KMOD_FUSE) += fuse
package-$(BR2_PACKAGE_KMOD_HOSTAP) += hostap
package-$(BR2_PACKAGE_KMOD_BCM43XX_DSCAPE) += bcm43xx-dscape
diff --git a/openwrt/target/linux/package/alsa/Makefile b/openwrt/target/linux/package/alsa/Makefile
index eea05a0..02baa44 100644
--- a/openwrt/target/linux/package/alsa/Makefile
+++ b/openwrt/target/linux/package/alsa/Makefile
@@ -21,7 +21,7 @@ endif
include $(TOPDIR)/package/rules.mk
ifeq ($(LINUX_KARCH),i386)
-KERNEL_C_INCS:=
+KERNEL_C_INCS:= -I$(KERNEL_DIR)/include/asm-i386/mach-generic
KERNEL_C_OPTS:= -Os -mpreferred-stack-boundary=2 -march=i486 -fno-unit-at-a-time
endif
ifeq ($(LINUX_KARCH),mips)