mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fixing build issues caused by a nonportable Makefile rule
This commit is contained in:
parent
636ab95f44
commit
812edb85e1
@ -6,7 +6,11 @@ $(call proto-build,dev_build)
|
|||||||
|
|
||||||
$(proto-build-c): $(lastword $(MAKEFILE_LIST))
|
$(proto-build-c): $(lastword $(MAKEFILE_LIST))
|
||||||
$(E)echo GEN $@
|
$(E)echo GEN $@
|
||||||
$(Q)echo "#include \"lib/birdlib.h\"\n$(patsubst %,void %(void);\n,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %();\n,$(PROTO_BUILD))}" > $@
|
$(Q)echo "#include \"lib/birdlib.h\"" > $@
|
||||||
|
$(Q)$(patsubst %,echo 'void %(void);' >> $@;,$(PROTO_BUILD))
|
||||||
|
$(Q)echo "void protos_build_gen(void) {" >> $@
|
||||||
|
$(Q)$(patsubst %,echo ' %();'>>$@;,$(PROTO_BUILD))
|
||||||
|
$(Q)echo "}" >> $@
|
||||||
|
|
||||||
tests_src :=
|
tests_src :=
|
||||||
tests_targets := $(tests_targets) $(tests-target-files)
|
tests_targets := $(tests_targets) $(tests-target-files)
|
||||||
|
Loading…
Reference in New Issue
Block a user