mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-03 14:47:01 +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
@@ -115,8 +115,7 @@ $(SCST_INTF_VER_FILE): $(SCST_INC_DIR)/scst.h $(SCST_INC_DIR)/scst_const.h $(SCS
|
||||
|
||||
all: $(SCST_INTF_VER_FILE)
|
||||
$(MAKE) -C certs KDIR=$(KDIR)
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_DEV=m \
|
||||
KBUILD_EXTRA_SYMBOLS=$(SCST_DIR)/Module.symvers
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_DEV=m
|
||||
|
||||
scst:
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_DEV=n
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
SHELL=/bin/bash
|
||||
|
||||
ifneq ($(PATCHLEVEL),)
|
||||
ccflags-y += -I$(KBUILD_EXTMOD)/../include \
|
||||
KBUILD_EXTRA_SYMBOLS=$(src)/../../Module.symvers
|
||||
ccflags-y += -I$(src)/../../include \
|
||||
$(call cc-option,-Wextra) \
|
||||
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare
|
||||
#ccflags-y += -DCONFIG_DEBUG_EXT_COPY_REMAP
|
||||
|
||||
Reference in New Issue
Block a user