1 # SPDX-License-Identifier: GPL-2.0 2 3 # Try to include uAPI headers from the kernel 4 # Most code under tools/ requires the respecti 5 # to be copied to tools/include. The duplicati 6 # All the family headers should be self-contai 7 # by selectively including just the uAPI heade 8 # from the kernel sources. 9 10 UAPI_PATH:=../../../../include/uapi/ 11 12 # scripts/headers_install.sh strips "_UAPI" fr 13 # need the explicit -D matching what's in /usr 14 15 get_hdr_inc=-D$(1) -include $(UAPI_PATH)/linux 16 17 CFLAGS_devlink:=$(call get_hdr_inc,_LINUX_DEVL 18 CFLAGS_dpll:=$(call get_hdr_inc,_LINUX_DPLL_H, 19 CFLAGS_ethtool:=$(call get_hdr_inc,_LINUX_ETHT 20 $(call get_hdr_inc,_LINUX_ETHT 21 CFLAGS_handshake:=$(call get_hdr_inc,_LINUX_HA 22 CFLAGS_mptcp_pm:=$(call get_hdr_inc,_LINUX_MPT 23 CFLAGS_netdev:=$(call get_hdr_inc,_LINUX_NETDE 24 CFLAGS_nlctrl:=$(call get_hdr_inc,__LINUX_GENE 25 CFLAGS_nfsd:=$(call get_hdr_inc,_LINUX_NFSD_NE 26 CFLAGS_ovs_datapath:=$(call get_hdr_inc,__LINU 27 CFLAGS_ovs_flow:=$(call get_hdr_inc,__LINUX_OP 28 CFLAGS_ovs_vport:=$(call get_hdr_inc,__LINUX_O 29 CFLAGS_tcp_metrics:=$(call get_hdr_inc,_LINUX_
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.