Re: [patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

From: kbuild test robot
Date: Thu Oct 27 2016 - 17:00:47 EST


Hi Vadim,

[auto build test ERROR on platform-drivers-x86/for-next]
[also build test ERROR on next-20161027]
[cannot apply to v4.9-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Vadim-Pasternak/drivers-platform-x86-move-module-mlx-platform-from-arch-x86-to-drivers-platform-x86/20161028-030308
base: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git for-next
config: i386-randconfig-i1-201643 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> scripts/Makefile.modbuiltin:25: arch/x86/platform/mellanox/Makefile: No such file or directory
make[4]: *** No rule to make target 'arch/x86/platform/mellanox/Makefile'.
make[4]: Failed to remake makefile 'arch/x86/platform/mellanox/Makefile'.

vim +25 scripts/Makefile.modbuiltin

bc081dd6 Michal Marek 2009-12-07 9
bc081dd6 Michal Marek 2009-12-07 10 -include include/config/auto.conf
bc081dd6 Michal Marek 2009-12-07 11 # tristate.conf sets tristate variables to uppercase 'Y' or 'M'
bc081dd6 Michal Marek 2009-12-07 12 # That way, we get the list of built-in modules in obj-Y
bc081dd6 Michal Marek 2009-12-07 13 -include include/config/tristate.conf
bc081dd6 Michal Marek 2009-12-07 14
bc081dd6 Michal Marek 2009-12-07 15 include scripts/Kbuild.include
bc081dd6 Michal Marek 2009-12-07 16
607b30fc Michal Marek 2010-06-10 17 ifneq ($(KBUILD_SRC),)
607b30fc Michal Marek 2010-06-10 18 # Create output directory if not already present
607b30fc Michal Marek 2010-06-10 19 _dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj))
607b30fc Michal Marek 2010-06-10 20 endif
607b30fc Michal Marek 2010-06-10 21
bc081dd6 Michal Marek 2009-12-07 22 # The filename Kbuild has precedence over Makefile
bc081dd6 Michal Marek 2009-12-07 23 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
bc081dd6 Michal Marek 2009-12-07 24 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
bc081dd6 Michal Marek 2009-12-07 @25 include $(kbuild-file)
bc081dd6 Michal Marek 2009-12-07 26
bc081dd6 Michal Marek 2009-12-07 27 include scripts/Makefile.lib
bc081dd6 Michal Marek 2009-12-07 28 __subdir-Y := $(patsubst %/,%,$(filter %/, $(obj-Y)))
bc081dd6 Michal Marek 2009-12-07 29 subdir-Y += $(__subdir-Y)
bc081dd6 Michal Marek 2009-12-07 30 subdir-ym := $(sort $(subdir-y) $(subdir-Y) $(subdir-m))
bc081dd6 Michal Marek 2009-12-07 31 subdir-ym := $(addprefix $(obj)/,$(subdir-ym))
bc081dd6 Michal Marek 2009-12-07 32 obj-Y := $(addprefix $(obj)/,$(obj-Y))
bc081dd6 Michal Marek 2009-12-07 33

:::::: The code at line 25 was first introduced by commit
:::::: bc081dd6e9f622c73334dc465359168543ccaabf kbuild: generate modules.builtin

:::::: TO: Michal Marek <mmarek@xxxxxxx>
:::::: CC: Michal Marek <mmarek@xxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip