summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-09-09 13:15:50 +0200
committerMaria Matejka <mq@ucw.cz>2022-09-09 13:15:50 +0200
commit26bfd4cc0350ef3249b0283d7fa9977cb13a5e55 (patch)
tree6d027a4b29b2ca308f0d78f59209030ae885ea5e /nest
parent3ace3a4281c2533a8cf39617644be0bbed8747a3 (diff)
parentd2c1036a42881d413ec97203ede92a69f8cd218f (diff)
Merge commit 'd2c1036a42881d413ec97203ede92a69f8cd218f' into thread-next
Diffstat (limited to 'nest')
-rw-r--r--nest/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/nest/Makefile b/nest/Makefile
index 39617350..5b27da0c 100644
--- a/nest/Makefile
+++ b/nest/Makefile
@@ -2,14 +2,13 @@ src := cli.c cmds.c iface.c locks.c neighbor.c password.c proto.c proto-build.c
obj := $(src-o-files)
$(all-daemon)
$(cf-local)
-$(call proto-build,dev_build)
-$(proto-build-c): $(lastword $(MAKEFILE_LIST))
+$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST))
$(E)echo GEN $@
$(Q)echo "#include \"lib/birdlib.h\"" > $@
- $(Q)$(patsubst %,echo 'void %(void);' >> $@;,$(PROTO_BUILD))
+ $(Q)$(patsubst %,echo 'void %_build(void);' >> $@;,$(PROTO_BUILD))
$(Q)echo "void protos_build_gen(void) {" >> $@
- $(Q)$(patsubst %,echo ' %();'>>$@;,$(PROTO_BUILD))
+ $(Q)$(patsubst %,echo ' %_build();'>>$@;,$(PROTO_BUILD))
$(Q)echo "}" >> $@
tests_src :=