Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes

* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
kbuild: fix $(src) assignmnet with external modules

+6
+6
scripts/Makefile.modpost
··· 43 43 include include/config/auto.conf 44 44 include scripts/Kbuild.include 45 45 46 + # When building external modules load the Kbuild file to retreive EXTRA_SYMBOLS info 46 47 ifneq ($(KBUILD_EXTMOD),) 48 + 49 + # set src + obj - they may be used when building the .mod.c file 50 + obj := $(KBUILD_EXTMOD) 51 + src := $(obj) 52 + 47 53 # Include the module's Makefile to find KBUILD_EXTRA_SYMBOLS 48 54 include $(if $(wildcard $(KBUILD_EXTMOD)/Kbuild), \ 49 55 $(KBUILD_EXTMOD)/Kbuild, $(KBUILD_EXTMOD)/Makefile)