1
0
Fork 0
forked from len0rd/rockbox

FS#9566: Change regex to make it work on old versions of sed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19166 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2008-11-21 13:01:03 +00:00
parent c0b43a5ac2
commit 344ad683be

View file

@ -20,7 +20,7 @@
preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | \ preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | \
grep -v '^\#' | \ grep -v '^\#' | \
sed -e 's:^.\+:$(dir $(1))&:') sed -e 's:^..*:$(dir $(1))&:')
preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \
grep -v '^\#' | grep -v "^$$" > $(2)) grep -v '^\#' | grep -v "^$$" > $(2))