summaryrefslogtreecommitdiffstats
path: root/target/linux/package
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package')
-rw-r--r--target/linux/package/Makefile2
-rw-r--r--target/linux/package/alsa/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/package/Makefile b/target/linux/package/Makefile
index 5fc604d5a..3d28ca77e 100644
--- a/target/linux/package/Makefile
+++ b/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/target/linux/package/alsa/Makefile b/target/linux/package/alsa/Makefile
index eea05a074..02baa44b3 100644
--- a/target/linux/package/alsa/Makefile
+++ b/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)