mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:07:10 +07:00
ea4d1a87e6
Rather than continuing to maintain a copy of pseries_defconfig with CONFIG_CPU_LITTLE_ENDIAN enabled, use the generic merge_config script and use an le.config to enable little endian on top of pseries_defconfig without the need for a duplicated _defconfig file. This method will require less maintenance in the future and will ensure that both 'defconfigs' are always in sync. It is worth noting that the seemingly more simple approach of: pseries_le_defconfig: pseries_defconfig $(Q)$(MAKE) le.config Will not work when building using O=builddir. The obvious fix to that: pseries_le_defconfig: $(Q)$(MAKE) -f $(srctree)/Makefile pseries_defconfig le.config Also does not work. This is because if we have for example: config FOO depends on CPU_BIG_ENDIAN select BAR Then BAR will be enabled by the first call to kconfig (via pseries_defconfig), and then will remain enabled after we merge le.config, even though FOO will have been turned off. The solution is to ensure to only invoke the kconfig logic once, after we have merged all the config fragments. This ensures nothing is select'ed on that should then be disabled by the later merged configs. This is done through the explicit call to make olddefconfig Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Reviewed-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> [mpe: Massage change log, fix white space and use ARCH not SRCARCH] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
||
---|---|---|
.. | ||
40x | ||
44x | ||
52xx | ||
83xx | ||
85xx | ||
86xx | ||
adder875_defconfig | ||
amigaone_defconfig | ||
c2k_defconfig | ||
cell_defconfig | ||
chrp32_defconfig | ||
corenet32_smp_defconfig | ||
corenet64_smp_defconfig | ||
ep88xc_defconfig | ||
ep8248e_defconfig | ||
g5_defconfig | ||
gamecube_defconfig | ||
holly_defconfig | ||
le.config | ||
linkstation_defconfig | ||
maple_defconfig | ||
mgcoge_defconfig | ||
mpc83xx_defconfig | ||
mpc85xx_defconfig | ||
mpc85xx_smp_defconfig | ||
mpc86xx_defconfig | ||
mpc512x_defconfig | ||
mpc866_ads_defconfig | ||
mpc885_ads_defconfig | ||
mpc5200_defconfig | ||
mpc7448_hpc2_defconfig | ||
mpc8272_ads_defconfig | ||
mvme5100_defconfig | ||
pasemi_defconfig | ||
pmac32_defconfig | ||
ppc6xx_defconfig | ||
ppc40x_defconfig | ||
ppc44x_defconfig | ||
ppc64_defconfig | ||
ppc64e_defconfig | ||
pq2fads_defconfig | ||
ps3_defconfig | ||
pseries_defconfig | ||
storcenter_defconfig | ||
tqm8xx_defconfig | ||
wii_defconfig |