summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 59ca6dc2dc..0a592b4f4b 100644
--- a/Makerules
+++ b/Makerules
@@ -158,7 +158,7 @@ $(common-objpfx)%.make: $(..)%.make.c $(..)Makerules
$(CC) $(CFLAGS) $(CPPFLAGS) -E $< \
| sed -n '/@@@/{s/@@@[ ]*\(.*\)@@@/\1/;s/[ ]*$$//p;}'; \
echo 'common-generated += $(@F)'; \
- cat $@.dT; rm -f $@.dT) > $@T
+ sed $(sed-remove-objpfx) $@.dT; rm -f $@.dT) > $@T
mv -f $@T $@
# Generate an ordered list of implicit rules which find the source files in