linux-brain/arch/powerpc/configs
Masahiro Yamada e949f4c2d6 kbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samples
Commit 5318321d36 ("samples: disable CONFIG_SAMPLES for UML") used
a big hammer to fix the build errors under the samples/ directory.
Only some samples actually include uapi headers from usr/include.

Introduce CONFIG_HEADERS_INSTALL since 'depends on HEADERS_INSTALL' is
clearer than 'depends on !UML'. If this option is enabled, uapi headers
are installed before starting directory descending.

I added 'depends on HEADERS_INSTALL' to per-sample CONFIG options.
This allows UML to compile some samples.

$ make ARCH=um allmodconfig samples/
  [ snip ]
  CC [M]  samples/configfs/configfs_sample.o
  CC [M]  samples/kfifo/bytestream-example.o
  CC [M]  samples/kfifo/dma-example.o
  CC [M]  samples/kfifo/inttype-example.o
  CC [M]  samples/kfifo/record-example.o
  CC [M]  samples/kobject/kobject-example.o
  CC [M]  samples/kobject/kset-example.o
  CC [M]  samples/trace_events/trace-events-sample.o
  CC [M]  samples/trace_printk/trace-printk.o
  AR      samples/vfio-mdev/built-in.a
  AR      samples/built-in.a

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-06-15 19:57:01 +09:00
..
40x mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
44x mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
52xx powerpc/configs: Update for CONFIG_FIXED_PHY being selected by CONFIG_OF_MDIO 2017-08-28 22:10:04 +10:00
83xx mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
85xx mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
85xx-32bit.config powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
85xx-64bit.config powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
85xx-hw.config mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
85xx-smp.config powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
86xx-hw.config mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
86xx-smp.config powerpc/86xx: Switch to kconfig fragments approach 2016-03-11 19:19:12 -06:00
adder875_defconfig powerpc/configs: Update for symbol movement only 2017-08-28 22:10:00 +10:00
altivec.config powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
amigaone_defconfig powerpc/configs: Drop no longer needed CONFIG_SCSI 2017-08-28 22:10:15 +10:00
be.config powerpc/configs: Add a powernv_be_defconfig 2017-07-31 16:56:37 +10:00
book3s_32.config powerpc: Add ppc32_allmodconfig defconfig target 2018-07-24 22:03:15 +10:00
cell_defconfig powerpc/configs: Drop no longer needed CONFIG_IPV6 2017-08-28 22:10:14 +10:00
chrp32_defconfig powerpc/configs: Drop unneeded CONFIG_CRYPTO_ANSI_CPRNG 2017-08-28 22:10:01 +10:00
corenet_basic_defconfig powerpc/85xx: Use kconfig fragments 2015-08-07 22:59:19 -05:00
dpaa.config powerpc/configs/dpaa: enable the Cortina PHY driver 2018-08-08 17:13:45 -05:00
ep88xc_defconfig powerpc/configs: Update for symbol movement only 2017-08-28 22:10:00 +10:00
ep8248e_defconfig powerpc/configs: Drop unneeded CONFIG_CRYPTO_ANSI_CPRNG 2017-08-28 22:10:01 +10:00
fsl-emb-nonhw.config powerpc/configs/85xx: Enable CONFIG_DEBUG_KERNEL 2018-12-21 22:07:54 -06:00
g5_defconfig powerpc/configs: Don't enable PPC_EARLY_DEBUG in defconfigs 2018-12-20 22:21:20 +11:00
gamecube_defconfig powerpc/configs: Update for CONFIG_SND changes 2017-09-20 13:30:09 +10:00
guest.config powerpc/configs: Add KVM guest defconfig 2018-11-26 22:33:37 +11:00
holly_defconfig powerpc/configs: Update for CONFIG_INPUT_MOUSEDEV=n 2017-08-28 22:10:17 +10: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/configs: Update for CONFIG_NF_CT_PROTO_(SCTP|UDPLITE)=y 2017-08-28 22:10:04 +10:00
maple_defconfig powerpc/configs: Don't enable PPC_EARLY_DEBUG in defconfigs 2018-12-20 22:21:20 +11:00
mgcoge_defconfig powerpc/configs: Update for CONFIG_FIXED_PHY being selected by CONFIG_OF_MDIO 2017-08-28 22:10:04 +10:00
mpc83xx_defconfig mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
mpc85xx_basic_defconfig powerpc/85xx: Enable TWR_P102x in mpc85xx_basic_defconfig 2015-12-22 18:23:21 -06:00
mpc86xx_basic_defconfig powerpc/configs: Update for symbol movement only 2017-08-28 22:10:00 +10:00
mpc512x_defconfig mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
mpc866_ads_defconfig powerpc/8xx: Remove CPU6 ERRATA Workaround 2018-01-16 23:47:12 +11:00
mpc885_ads_defconfig powerpc/configs: Update for symbol movement only 2017-08-28 22:10:00 +10:00
mpc5200_defconfig powerpc/configs/mpc5200: Drop no longer needed CONFIG_FB 2017-08-28 22:10:18 +10:00
mpc7448_hpc2_defconfig powerpc/configs: Update for CONFIG_INPUT_MOUSEDEV=n 2017-08-28 22:10:17 +10:00
mpc8272_ads_defconfig powerpc/configs: Drop unneeded CONFIG_CRYPTO_ANSI_CPRNG 2017-08-28 22:10:01 +10:00
mvme5100_defconfig powerpc/configs: Update for CONFIG_NF_CT_PROTO_(SCTP|UDPLITE)=y 2017-08-28 22:10:04 +10:00
pasemi_defconfig mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
pmac32_defconfig powerpc/configs: Don't enable PPC_EARLY_DEBUG in defconfigs 2018-12-20 22:21:20 +11:00
powernv_defconfig powerpc/config: Enable CONFIG_PRINTK_TIME 2018-10-03 15:40:06 +10:00
ppc6xx_defconfig kbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samples 2019-06-15 19:57:01 +09:00
ppc40x_defconfig powerpc/configs: Add PPC4xx_OCM to ppc40x_defconfig 2018-12-30 14:00:47 +11:00
ppc44x_defconfig mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
ppc64_defconfig powerpc/configs: Don't enable PPC_EARLY_DEBUG in defconfigs 2018-12-20 22:21:20 +11:00
ppc64e_defconfig powerpc/configs: Update for CONFIG_SND changes 2017-09-20 13:30:09 +10:00
pq2fads_defconfig powerpc/configs: Drop unneeded CONFIG_CRYPTO_ANSI_CPRNG 2017-08-28 22:10:01 +10:00
ps3_defconfig powerpc/config: Enable CONFIG_PRINTK_TIME 2018-10-03 15:40:06 +10:00
pseries_defconfig powerpc/configs: Enable CONFIG_USB_XHCI_HCD by default 2019-04-20 22:02:26 +10:00
skiroot_defconfig powerpc updates for 5.2 2019-05-10 05:29:27 -07:00
storcenter_defconfig powerpc: convert storcenter_defconfig to use libata PATA drivers 2016-11-14 20:09:32 +11:00
tqm8xx_defconfig powerpc/configs: Update for CONFIG_FIXED_PHY being selected by CONFIG_OF_MDIO 2017-08-28 22:10:04 +10:00
wii_defconfig ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00