]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8782/1: vfp: clean up arch/arm/vfp/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 18 Jul 2018 01:07:47 +0000 (02:07 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 30 Jul 2018 10:45:50 +0000 (11:45 +0100)
commitfb0748b2851b923796359655b9241292e4a42b61
tree9d3297f0f13581087b778db480296361d578e491
parent587f8edc84705b5d76cf3f14cb838e7d28333f42
ARM: 8782/1: vfp: clean up arch/arm/vfp/Makefile

Since commit 04632ffdf0ff ("kbuild: thin archives make default for
all archs"), $(AR) is used instead of $(LD) to combine object files.

The following code in arch/arm/vfp/Makefile:

  LDFLAGS         +=--no-warn-mismatch

... is no longer used.

Also, arch/arm/Makefile already guards arch/arm/vfp/ by a boolean
symbol, CONFIG_VFP, like this:

  core-$(CONFIG_VFP)              += arch/arm/vfp/

So, $(CONFIG_VFP) is always evaluated to y in arch/arm/vfp/Makefile.
There is no point to use pseudo object, vfp.o, which never becomes
a module.  Add all objects to obj-y directly.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/vfp/Makefile