mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
arphrd-list: use imported linux/if_arp.h
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
${1:?} -dM -include linux/if_arp.h -include "${2:?}" - </dev/null | \
|
||||
${1:?} -dM -include "${2:?}" -include "${3:?}" - </dev/null | \
|
||||
awk '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \
|
||||
sed -e 's/ARPHRD_//'
|
||||
|
||||
@@ -131,7 +131,7 @@ generate_arphrd_list = find_program('generate-arphrd-list.sh')
|
||||
arphrd_list_txt = custom_target(
|
||||
'arphrd-list.txt',
|
||||
output : 'arphrd-list.txt',
|
||||
command : [generate_arphrd_list, cpp, config_h],
|
||||
command : [generate_arphrd_list, cpp, files('linux/if_arp.h'), config_h],
|
||||
capture : true)
|
||||
|
||||
generate_cap_list = find_program('generate-cap-list.sh')
|
||||
|
||||
Reference in New Issue
Block a user