From 47af07a9f3f62eaafb52633415915c26511efe45 Mon Sep 17 00:00:00 2001 From: Brian Swetland Date: Mon, 27 Oct 2008 16:22:35 -0700 Subject: [PATCH] fix out-of-tree module build Now you can build correctly with: make KERNEL=/path/to/kernel --- sta_dk_4_0_4_32/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),) -- 2.39.5