mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
build-sys: automake needs to know about generated files
CC src/core/libsystemd_core_la-syscall-list.lo src/core/syscall-list.c:31:29: fatal error: syscall-to-name.h: No such file or directory
This commit is contained in:
parent
8351ceaea9
commit
cc9f61b815
@ -1008,6 +1008,10 @@ CLEANFILES += \
|
||||
src/core/syscall-from-name.h \
|
||||
src/core/syscall-to-name.h
|
||||
|
||||
BUILT_SOURCES += \
|
||||
src/core/syscall-from-name.h \
|
||||
src/core/syscall-to-name.h
|
||||
|
||||
src/core/syscall-list.txt: Makefile
|
||||
$(AM_V_GEN)cpp -dM -include sys/syscall.h < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }' > $@ || rm $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user