diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 13:01:03 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-11-21 13:01:03 +0000 |
commit | 344ad683beb5dc8ee5f199920e913a7277cf5258 (patch) | |
tree | 9c6cb50e9a58c3131d6845054bdc554921fb6ccd /tools | |
parent | c0b43a5ac2fcda473800b9c9a4036c5348ac5084 (diff) | |
download | rockbox-344ad683beb5dc8ee5f199920e913a7277cf5258.tar.gz rockbox-344ad683beb5dc8ee5f199920e913a7277cf5258.zip |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/functions.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functions.make b/tools/functions.make index bab8a8d148..dd87377f87 100644 --- a/tools/functions.make +++ b/tools/functions.make | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | \ | 21 | preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c -include config.h $(1) | \ |
22 | grep -v '^\#' | \ | 22 | grep -v '^\#' | \ |
23 | sed -e 's:^.\+:$(dir $(1))&:') | 23 | sed -e 's:^..*:$(dir $(1))&:') |
24 | 24 | ||
25 | preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ | 25 | preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $(1) | \ |
26 | grep -v '^\#' | grep -v "^$$" > $(2)) | 26 | grep -v '^\#' | grep -v "^$$" > $(2)) |