1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.include: Fix call to sed for FreeBSD

This commit is contained in:
Frank Hessel 2019-10-13 15:33:53 +02:00
parent cce1438e61
commit ec869ebef9
No known key found for this signature in database
GPG Key ID: E4DB68890A128F7B

View File

@ -818,7 +818,8 @@ include $(RIOTTOOLS)/desvirt/Makefile.desvirt
# The rebuild behavior could even only be done with an empty file, but currently
# some macros definitions are passed through this file.
$(RIOTBUILD_CONFIG_HEADER_C): $(RIOTBUILD_CONFIG_HEADER_C).in
$(Q)sed -n -e '1i /* Generated file do not edit */' -e '/^#.*/ p' $< > $@
$(Q)sed -n -e '1i\
/* Generated file do not edit */' -e '/^#.*/ p' $< > $@
.SECONDARY: $(RIOTBUILD_CONFIG_HEADER_C).in
$(RIOTBUILD_CONFIG_HEADER_C).in: FORCE | $(CLEAN)