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 - 15:21:50 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-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
>> scripts/Makefile.build:44: 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 +44 scripts/Makefile.build
f77bf0142 Sam Ravnborg 2007-10-15 28 ldflags-y :=
d72e5edbf Sam Ravnborg 2007-05-28 29
720097d89 Sam Ravnborg 2009-04-19 30 subdir-asflags-y :=
720097d89 Sam Ravnborg 2009-04-19 31 subdir-ccflags-y :=
720097d89 Sam Ravnborg 2009-04-19 32
3156fd052 Robert P. J. Day 2008-02-18 33 # Read auto.conf if it exists, otherwise ignore
c955ccafc Roman Zippel 2006-06-08 34 -include include/config/auto.conf
^1da177e4 Linus Torvalds 2005-04-16 35
20a468b51 Sam Ravnborg 2006-01-22 36 include scripts/Kbuild.include
20a468b51 Sam Ravnborg 2006-01-22 37
3156fd052 Robert P. J. Day 2008-02-18 38 # For backward compatibility check that these variables do not change
0c53c8e6e Sam Ravnborg 2007-10-14 39 save-cflags := $(CFLAGS)
0c53c8e6e Sam Ravnborg 2007-10-14 40
2a6914703 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile
db8c1a7b2 Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
0c53c8e6e Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
0c53c8e6e Sam Ravnborg 2007-10-14 @44 include $(kbuild-file)
^1da177e4 Linus Torvalds 2005-04-16 45
0c53c8e6e Sam Ravnborg 2007-10-14 46 # If the save-* variables changed error out
0c53c8e6e Sam Ravnborg 2007-10-14 47 ifeq ($(KBUILD_NOPEDANTIC),)
0c53c8e6e Sam Ravnborg 2007-10-14 48 ifneq ("$(save-cflags)","$(CFLAGS)")
49c57d254 Arnaud Lacombe 2011-08-15 49 $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use ccflags-y)
0c53c8e6e Sam Ravnborg 2007-10-14 50 endif
0c53c8e6e Sam Ravnborg 2007-10-14 51 endif
4a5838ad9 Borislav Petkov 2011-03-01 52
:::::: The code at line 44 was first introduced by commit
:::::: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS
:::::: TO: Sam Ravnborg <sam@neptun.(none)>
:::::: CC: Sam Ravnborg <sam@neptun.(none)>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip