From: Brian Swetland Date: Mon, 27 Oct 2008 23:22:35 +0000 (-0700) Subject: fix out-of-tree module build X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47af07a9f3f62eaafb52633415915c26511efe45;p=pandora-wifi.git fix out-of-tree module build Now you can build correctly with: make KERNEL=/path/to/kernel --- diff --git a/sta_dk_4_0_4_32/Makefile b/sta_dk_4_0_4_32/Makefile index 7404f8c..76fbe48 100644 --- a/sta_dk_4_0_4_32/Makefile +++ b/sta_dk_4_0_4_32/Makefile @@ -107,12 +107,12 @@ ifneq ($(KERNELRELEASE),) # Intermediate object name - this should be converted to the appropriate library file # after the kernel makefile finishes its work. # - obj-$(CONFIG_TIWLAN1251) += wlan.o + obj-m += wlan.o # # List of object files the kernel makefile needs to compile. # - wlan-objs := $(DK_OBJS) $(OS_OBJS) + wlan-y := $(DK_OBJS) $(OS_OBJS) else # ifneq ($(KERNELRELEASE),)