mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
4ba7f80f42
Commit5e9dcb6188
("powerpc/boot: Expose Kconfig symbols to wrapper") was wrong, but commite41b93a6be
("powerpc/boot: Fix build failures with -j 1") was also wrong. The correct dependency is: $(obj)/serial.o: $(obj)/autoconf.h However, I do not see the reason why we need to copy autoconf.h to arch/power/boot/. Nor do I see consistency in the way of passing CONFIG options. decompress.c references CONFIG_KERNEL_GZIP and CONFIG_KERNEL_XZ, which are passed via the command line. serial.c includes autoconf.h to reference a couple of CONFIG options, but this is fragile because we often forget to include "autoconf.h" from source files. In fact, it is already broken. ppc_asm.h references CONFIG_PPC_8xx, but utils.S is not given any way to access CONFIG options. So, CONFIG_PPC_8xx is never defined here. Pass $(LINUXINCLUDE) to make sure CONFIG options are accessible from all .c and .S files in arch/powerpc/boot/. I also removed the -traditional flag to make include/linux/kconfig.h work. This flag makes the preprocessor imitate the behavior of the pre-standard C compiler, but I do not understand why it is necessary. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190705100144.28785-2-yamada.masahiro@socionext.com
47 lines
524 B
Plaintext
47 lines
524 B
Plaintext
addnote
|
|
decompress_inflate.c
|
|
empty.c
|
|
hack-coff
|
|
inffast.c
|
|
inffast.h
|
|
inffixed.h
|
|
inflate.c
|
|
inflate.h
|
|
inftrees.c
|
|
inftrees.h
|
|
infutil.c
|
|
infutil.h
|
|
kernel-vmlinux.strip.c
|
|
kernel-vmlinux.strip.gz
|
|
mktree
|
|
otheros.bld
|
|
uImage
|
|
cuImage.*
|
|
dtbImage.*
|
|
treeImage.*
|
|
vmlinux.strip
|
|
zImage
|
|
zImage.initrd
|
|
zImage.bin.*
|
|
zImage.chrp
|
|
zImage.coff
|
|
zImage.epapr
|
|
zImage.holly
|
|
zImage.*lds
|
|
zImage.maple
|
|
zImage.miboot
|
|
zImage.pmac
|
|
zImage.pseries
|
|
zconf.h
|
|
zlib.h
|
|
zutil.h
|
|
fdt.c
|
|
fdt.h
|
|
fdt_ro.c
|
|
fdt_rw.c
|
|
fdt_strerror.c
|
|
fdt_sw.c
|
|
fdt_wip.c
|
|
libfdt.h
|
|
libfdt_internal.h
|