linux_dsm_epyc7002/arch/powerpc/configs
Cyril Bur ea4d1a87e6 powerpc/configs: Replace pseries_le_defconfig with a Makefile target using merge_config
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>
2015-06-02 16:54:49 +10:00
..
40x powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
44x powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
52xx powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
83xx powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
85xx powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
86xx powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
adder875_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
amigaone_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
c2k_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
cell_defconfig powerpc: Remove the celleb support 2015-04-07 17:15:13 +10:00
chrp32_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
corenet32_smp_defconfig powerpc/corenet: enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x 2015-03-31 22:23:21 -05:00
corenet64_smp_defconfig powerpc/corenet: enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x 2015-03-31 22:23:21 -05:00
ep88xc_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ep8248e_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
g5_defconfig powerpc: Update G5 defconfig 2015-01-22 16:49:47 +11:00
gamecube_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
holly_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
le.config powerpc/configs: Replace pseries_le_defconfig with a Makefile target using merge_config 2015-06-02 16:54:49 +10:00
linkstation_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
maple_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mgcoge_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc83xx_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc85xx_defconfig powerpc: Enable thermal monitor feature in defconfig for supported platforms 2015-03-23 19:51:21 -05:00
mpc85xx_smp_defconfig powerpc: Enable thermal monitor feature in defconfig for supported platforms 2015-03-23 19:51:21 -05:00
mpc86xx_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc512x_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc866_ads_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc885_ads_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc5200_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc7448_hpc2_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mpc8272_ads_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
mvme5100_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
pasemi_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
pmac32_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ppc6xx_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ppc40x_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ppc44x_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ppc64_defconfig powerpc: Remove the celleb support 2015-04-07 17:15:13 +10:00
ppc64e_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
pq2fads_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
ps3_defconfig powerpc/ps3: Enable CONFIG_PS3_REPOSITORY_WRITE in ps3_defconfig 2015-01-22 17:31:22 +11:00
pseries_defconfig powerpc/configs: Merge pseries_defconfig and pseries_le_defconfig 2015-06-02 16:54:48 +10:00
storcenter_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
tqm8xx_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00
wii_defconfig powerpc: Update all configs using savedefconfig 2015-01-20 18:06:58 +11:00