mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
Move KBUILD_EXTRA_SYMBOLS definitions into the kernel Makefiles
$(KBUILD_EXTRA_SYMBOLS) is not only used at compile time but also at link time. Move the $(KBUILD_EXTRA_SYMBOLS) definitions such that it is available both at compile time and at link time. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9000 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-2
@@ -63,8 +63,7 @@ INSTALL_DIR := $(INSTALL_MOD_PATH)/lib/modules/$(KVER)/extra
|
||||
SCST_DIR := $(shell echo "$$PWD")/../scst/src
|
||||
|
||||
all:
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd) \
|
||||
KBUILD_EXTRA_SYMBOLS=$(SCST_DIR)/Module.symvers
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd)
|
||||
|
||||
install: all
|
||||
KDIR=$(KDIR) ../scripts/sign-modules
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
KBUILD_EXTRA_SYMBOLS=$(src)/../scst/src/Module.symvers
|
||||
ccflags-y += -I$(src)/../scst/include
|
||||
|
||||
obj-$(CONFIG_FCST) += fcst.o
|
||||
|
||||
Reference in New Issue
Block a user