mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-01 10:13:58 +08: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>
152 lines
3.2 KiB
Plaintext
152 lines
3.2 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_EXPERT=y
|
|
CONFIG_KALLSYMS_ALL=y
|
|
CONFIG_SLAB=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=m
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
CONFIG_PA8X00=y
|
|
CONFIG_PREEMPT_VOLUNTARY=y
|
|
# CONFIG_GSC is not set
|
|
CONFIG_PCI=y
|
|
CONFIG_PCI_LBA=y
|
|
# CONFIG_PDC_CHASSIS is not set
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_XFRM_USER=m
|
|
CONFIG_NET_KEY=m
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
# CONFIG_INET_DIAG is not set
|
|
CONFIG_INET6_IPCOMP=m
|
|
CONFIG_IPV6_TUNNEL=m
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_NET_PKTGEN=m
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
# CONFIG_STANDALONE is not set
|
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
CONFIG_BLK_DEV_UMEM=m
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_CRYPTOLOOP=m
|
|
CONFIG_IDE=y
|
|
CONFIG_BLK_DEV_IDECD=y
|
|
CONFIG_BLK_DEV_NS87415=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_ISCSI_ATTRS=m
|
|
CONFIG_SCSI_SYM53C8XX_2=y
|
|
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
|
|
CONFIG_SCSI_DEBUG=m
|
|
CONFIG_MD=y
|
|
CONFIG_BLK_DEV_MD=y
|
|
CONFIG_MD_LINEAR=y
|
|
CONFIG_MD_RAID0=y
|
|
CONFIG_MD_RAID1=y
|
|
CONFIG_BLK_DEV_DM=m
|
|
CONFIG_DM_CRYPT=m
|
|
CONFIG_DM_SNAPSHOT=m
|
|
CONFIG_DM_MIRROR=m
|
|
CONFIG_DM_ZERO=m
|
|
CONFIG_DM_MULTIPATH=m
|
|
CONFIG_FUSION=y
|
|
CONFIG_FUSION_SPI=m
|
|
CONFIG_FUSION_CTL=m
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_BONDING=m
|
|
CONFIG_DUMMY=m
|
|
CONFIG_TUN=m
|
|
CONFIG_ACENIC=m
|
|
CONFIG_TIGON3=m
|
|
CONFIG_NET_TULIP=y
|
|
CONFIG_DE2104X=m
|
|
CONFIG_TULIP=y
|
|
CONFIG_TULIP_MMIO=y
|
|
CONFIG_E100=m
|
|
CONFIG_E1000=m
|
|
CONFIG_PPP=m
|
|
CONFIG_PPP_BSDCOMP=m
|
|
CONFIG_PPP_DEFLATE=m
|
|
CONFIG_PPPOE=m
|
|
CONFIG_PPP_ASYNC=m
|
|
CONFIG_PPP_SYNC_TTY=m
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
# CONFIG_MOUSE_PS2 is not set
|
|
CONFIG_SERIO=m
|
|
CONFIG_SERIO_LIBPS2=m
|
|
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_HW_RANDOM is not set
|
|
CONFIG_RAW_DRIVER=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_FB=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
# CONFIG_LOGO_LINUX_CLUT224 is not set
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SEQUENCER=y
|
|
CONFIG_SND_AD1889=y
|
|
CONFIG_USB_HIDDEV=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_PRINTER=m
|
|
CONFIG_USB_STORAGE=m
|
|
CONFIG_USB_STORAGE_USBAT=m
|
|
CONFIG_USB_STORAGE_SDDR09=m
|
|
CONFIG_USB_STORAGE_SDDR55=m
|
|
CONFIG_USB_STORAGE_JUMPSHOT=m
|
|
CONFIG_USB_MDC800=m
|
|
CONFIG_USB_MICROTEK=m
|
|
CONFIG_USB_LEGOTOWER=m
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
CONFIG_XFS_FS=m
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_ISO9660_FS=y
|
|
CONFIG_JOLIET=y
|
|
CONFIG_MSDOS_FS=m
|
|
CONFIG_VFAT_FS=m
|
|
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_DEBUG_FS=y
|
|
CONFIG_HEADERS_INSTALL=y
|
|
CONFIG_HEADERS_CHECK=y
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_MUTEXES=y
|
|
# CONFIG_DEBUG_BUGVERBOSE is not set
|
|
CONFIG_CRYPTO_TEST=m
|
|
CONFIG_CRYPTO_MD5=m
|
|
CONFIG_CRYPTO_BLOWFISH=m
|
|
CONFIG_CRYPTO_DES=m
|
|
# CONFIG_CRYPTO_HW is not set
|