e949f4c2d6
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>
106 lines
2.7 KiB
Plaintext
106 lines
2.7 KiB
Plaintext
CONFIG_CROSS_COMPILE="nds32le-linux-"
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_BSD_PROCESS_ACCT_V3=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_USER_NS=y
|
|
CONFIG_RELAY=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_KALLSYMS_ALL=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
# CONFIG_CACHE_L2 is not set
|
|
CONFIG_PREEMPT=y
|
|
# CONFIG_COMPACTION is not set
|
|
CONFIG_HZ_100=y
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
# CONFIG_BLK_DEV is not set
|
|
CONFIG_NETDEVICES=y
|
|
# CONFIG_NET_CADENCE is not set
|
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
CONFIG_FTMAC100=y
|
|
# CONFIG_NET_VENDOR_INTEL is not set
|
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
|
# CONFIG_NET_VENDOR_MICREL is not set
|
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
# CONFIG_NET_VENDOR_STMICRO is not set
|
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
CONFIG_SERIAL_8250=y
|
|
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=3
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=3
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_HID_A4TECH is not set
|
|
# CONFIG_HID_APPLE is not set
|
|
# CONFIG_HID_BELKIN is not set
|
|
# CONFIG_HID_CHERRY is not set
|
|
# CONFIG_HID_CHICONY is not set
|
|
# CONFIG_HID_CYPRESS is not set
|
|
# CONFIG_HID_EZKEY is not set
|
|
# CONFIG_HID_ITE is not set
|
|
# CONFIG_HID_KENSINGTON is not set
|
|
# CONFIG_HID_LOGITECH is not set
|
|
# CONFIG_HID_MICROSOFT is not set
|
|
# CONFIG_HID_MONTEREY is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_GENERIC_PHY=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
|
CONFIG_EXT4_FS_SECURITY=y
|
|
CONFIG_FS_ENCRYPTION=y
|
|
CONFIG_FUSE_FS=y
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_TMPFS_POSIX_ACL=y
|
|
CONFIG_CONFIGFS_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3_ACL=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_NFS_V4_1=y
|
|
CONFIG_NFS_USE_LEGACY_DNS=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_DEBUG_INFO_DWARF4=y
|
|
CONFIG_GDB_SCRIPTS=y
|
|
CONFIG_READABLE_ASM=y
|
|
CONFIG_HEADERS_INSTALL=y
|
|
CONFIG_HEADERS_CHECK=y
|
|
CONFIG_DEBUG_SECTION_MISMATCH=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_PANIC_ON_OOPS=y
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
# CONFIG_DEBUG_PREEMPT is not set
|
|
CONFIG_STACKTRACE=y
|
|
CONFIG_RCU_CPU_STALL_TIMEOUT=300
|
|
# CONFIG_CRYPTO_HW is not set
|