0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Build: Partial revert of one of previous changes

There are many compatibility issues with echo -e, scratch that.
This commit is contained in:
Ondrej Zajicek 2023-02-01 19:30:21 +01:00
parent ba348b2029
commit 0ab62f2674

View File

@ -5,7 +5,7 @@ $(cf-local)
$(o)proto-build.c: Makefile $(lastword $(MAKEFILE_LIST)) $(objdir)/.dir-stamp
$(E)echo GEN $@
$(Q)echo "\n $(patsubst %, void %_build(void);\n,$(PROTO_BUILD))\nvoid protos_build_gen(void) {\n $(patsubst %, %_build();\n,$(PROTO_BUILD))}" > $@
$(Q)echo "$(patsubst %,void %_build(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %_build(); ,$(PROTO_BUILD))}" > $@
prepare: $(o)proto-build.c