]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Build: Partial revert of one of previous changes
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 1 Feb 2023 18:30:21 +0000 (19:30 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 1 Feb 2023 18:30:21 +0000 (19:30 +0100)
There are many compatibility issues with echo -e, scratch that.

nest/Makefile

index 05a2a9c005f45bd6dbabe6a334d981b484ea7cb8..163a1199462e6772aeec5c52f1abd7bd11317134 100644 (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