diff --git a/Device3Dfx/Makefile b/Device3Dfx/Makefile index 1a430bf..15560c8 100644 --- a/Device3Dfx/Makefile +++ b/Device3Dfx/Makefile @@ -17,6 +17,8 @@ endif KSRC ?= /usr/src/linux KHEADERS ?= $(KSRC)/include +KVERS ?= $(shell ./kinfo --UTS) +MODULES_DIR = $(DESTDIR)/lib/modules/$(KVERS) ALL_CFLAGS := -DMODULE -D__KERNEL__ \ -I$(KHEADERS) -I$(KHEADERS)/asm/mach-default \ @@ -59,9 +61,6 @@ module_type = module_$(BUILD_TYPE) else -KVERS ?= $(shell ./kinfo --UTS) -MODULES_DIR = $(DESTDIR)/lib/modules/$(KVERS) - config: sanity kinfo @( \ KVER_MAJOR=`echo $(KVERS) | cut -d. -f1`; \