powerpc/boot: Separate BOOTCFLAGS from BOOTASFLAGS
authorNicholas Piggin <npiggin@gmail.com>
Tue, 6 Jun 2023 06:46:56 +0000 (16:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Jun 2023 02:46:41 +0000 (12:46 +1000)
commit54194a2fab4f78b96347882cf27894f76833c631
treedd60e356cbb227f754fc93525b50057fe66ef11e
parentd1b7d40d4ffa02d59e72abf31ee2119778c6673e
powerpc/boot: Separate BOOTCFLAGS from BOOTASFLAGS

BOOTCFLAGS no longer contains anything that BOOTASFLAGS needs (except
-pipe). Separate them to avoid fragility with cross-contamination of
flags which has caused several build problems.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/lkml/CAHk-=whyWUdJDeOBN1hRWYSkQkvzYiQ5RbSW5rJjExgnbSNX9Q@mail.gmail.com/
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230606064657.183969-4-npiggin@gmail.com
arch/powerpc/boot/Makefile