linux/arch/arc/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
..
axs101_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
axs103_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
axs103_smp_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
haps_hs_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
haps_hs_smp_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
hsdk_defconfig ARC: [plat-hsdk]: Add support of Vivante GPU 2019-05-28 10:08:16 -07:00
nps_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
nsim_700_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
nsim_hs_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
nsim_hs_smp_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
nsimosci_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
nsimosci_hs_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
nsimosci_hs_smp_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
tb10x_defconfig kbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samples 2019-06-15 19:57:01 +09:00
vdk_hs38_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
vdk_hs38_smp_defconfig configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00