kbuild: set no-integrated-as before incl. arch Makefile
authorStefan Agner <stefan@agner.ch>
Mon, 19 Mar 2018 21:12:53 +0000 (22:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:43 +0000 (14:52 +0100)
commit6cfb67394a42072981c2884114b3850a3cdd5b2b
treed4fb8b39994a3603de2eddb970244dd19ce75cd3
parenta972222a6a3004df0ba6295d9ea14617dff0964a
kbuild: set no-integrated-as before incl. arch Makefile

[ Upstream commit 0f0e8de334c54c38818a4a5390a39aa09deff5bf ]

In order to make sure compiler flag detection for ARM works
correctly the no-integrated-as flags need to be set before
including the arch specific Makefile.

Fixes: cfe17c9bbe6a ("kbuild: move cc-option and cc-disable-warning after incl. arch Makefile")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Makefile