mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 15:15:59 +07:00
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>
98 lines
2.0 KiB
Plaintext
98 lines
2.0 KiB
Plaintext
# CONFIG_LOCALVERSION_AUTO is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=16
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_SLAB=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODVERSIONS=y
|
|
CONFIG_PA7100LC=y
|
|
CONFIG_HPPB=y
|
|
CONFIG_IOMMU_CCIO=y
|
|
CONFIG_GSC_LASI=y
|
|
CONFIG_GSC_WAX=y
|
|
CONFIG_EISA=y
|
|
CONFIG_ISA=y
|
|
CONFIG_PCI=y
|
|
CONFIG_GSC_DINO=y
|
|
# CONFIG_PDC_CHASSIS is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
CONFIG_PARPORT=y
|
|
CONFIG_PARPORT_PC=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_CRYPTOLOOP=y
|
|
CONFIG_CDROM_PKTCDVD=m
|
|
CONFIG_ATA_OVER_ETH=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_CHR_DEV_ST=y
|
|
CONFIG_BLK_DEV_SR=y
|
|
CONFIG_CHR_DEV_SG=y
|
|
CONFIG_SCSI_LASI700=y
|
|
CONFIG_SCSI_SYM53C8XX_2=y
|
|
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
|
|
CONFIG_SCSI_ZALON=y
|
|
CONFIG_SCSI_NCR53C8XX_SYNC=40
|
|
CONFIG_MD=y
|
|
CONFIG_BLK_DEV_MD=y
|
|
CONFIG_MD_LINEAR=y
|
|
CONFIG_MD_RAID0=y
|
|
CONFIG_MD_RAID1=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_TULIP=y
|
|
CONFIG_TULIP=y
|
|
CONFIG_LASI_82596=y
|
|
CONFIG_PPP=y
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_HIL_OLD is not set
|
|
CONFIG_INPUT_MISC=y
|
|
# CONFIG_SERIO_SERPORT is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=13
|
|
CONFIG_SERIAL_8250_EXTENDED=y
|
|
CONFIG_SERIAL_8250_MANY_PORTS=y
|
|
CONFIG_SERIAL_8250_SHARE_IRQ=y
|
|
CONFIG_PRINTER=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_FB=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
CONFIG_SND_HARMONY=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_ISO9660_FS=y
|
|
CONFIG_JOLIET=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NFSD=y
|
|
CONFIG_NFSD_V3=y
|
|
CONFIG_NLS_CODEPAGE_437=m
|
|
CONFIG_NLS_CODEPAGE_850=m
|
|
CONFIG_NLS_ASCII=m
|
|
CONFIG_NLS_ISO8859_1=m
|
|
CONFIG_NLS_ISO8859_15=m
|
|
CONFIG_NLS_UTF8=m
|
|
CONFIG_HEADERS_INSTALL=y
|
|
CONFIG_HEADERS_CHECK=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_SECURITY=y
|