Skip to contentSkip to conversation

tc_act: export all user headers

PATCH Applied Stephen Hemminger 2 participants 4 messages Apr 22, 2016 – Apr 25, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tc_act: export all user headers

The file tc_ife.h was missing from the export list.
Rather than continue to cherry-pick, just export all headers in the directory.

include/uapi/linux/tc_act/Kbuild +1 -11
@@ -1,12 +1,2 @@
 # UAPI Header export list
-header-y += tc_csum.h
-header-y += tc_defact.h
-header-y += tc_gact.h
-header-y += tc_ipt.h
-header-y += tc_mirred.h
-header-y += tc_nat.h
-header-y += tc_pedit.h
-header-y += tc_skbedit.h
-header-y += tc_vlan.h
-header-y += tc_bpf.h
-header-y += tc_connmark.h
+header-y += *.h
maintainer
#2 lore raw

From: David Miller <[email protected]>
Date: Mon, 25 Apr 2016 16:49:39 -0400 (EDT)

Quoted 9 lines

From: Stephen Hemminger <[email protected]>
Date: Fri, 22 Apr 2016 10:06:38 -0700

Quoted 4 lines

The file tc_ife.h was missing from the export list.
Rather than continue to cherry-pick, just export all headers in the directory.

Applied.

Please compile test, pretty please??!?!?

./usr/include/linux/tc_act/*.h: No such file or directory

It looks like you can't expect shell expansions like that to work in Kbuild files.

#3 lore raw
Quoted 11 lines · On Mon, 25 Apr 2016 16:52:44 -0400 (EDT) David Miller <[email protected]>…

From: David Miller <[email protected]>
Date: Mon, 25 Apr 2016 16:49:39 -0400 (EDT)

Quoted 8 lines

From: Stephen Hemminger <[email protected]>
Date: Fri, 22 Apr 2016 10:06:38 -0700

Quoted 4 lines

The file tc_ife.h was missing from the export list.
Rather than continue to cherry-pick, just export all headers in the directory.

Quoted 8 lines
Quoted 1 line

Applied.

Please compile test, pretty please??!?!?

./usr/include/linux/tc_act/*.h: No such file or directory

It looks like you can't expect shell expansions like that to work in Kbuild files.

It worked for me but was testing the export function, not the build.