summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-27 23:13:05 +0000
committerRoland McGrath <roland@gnu.org>2002-12-27 23:13:05 +0000
commitbd847b5ab283200edba46a95833592b54aa3f742 (patch)
treee9e8d1f84740dc121d425ccb610f7f935520155f /Makerules
parente01b78732b344a755c741977984b11e0a50ff172 (diff)
second typo in prior commit
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 7e31ef7fba..6f5eacf454 100644
--- a/Makerules
+++ b/Makerules
@@ -1181,10 +1181,10 @@ endif
# Generating headers for assembly constants.
$(common-objpfx)%.h $(common-objpfx)%.h.d: $(..)scripts/gen-as-const.awk %.sym
- $(AWK) -f $^ \
+ $(AWK) -f $< $(filter %.sym,$^) \
| $(CC) -S -o - $(CFLAGS) $(CPPFLAGS) -x c - \
-MD -MF $(@:.h=.h.d)T -MT '$(@:.h=.h.d) $(@:.h.d=.h)' \
- | sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^@]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' > $(@:.h.d=.h)T
+ | sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' > $(@:.h.d=.h)T
sed $(sed-remove-objpfx) \
-e 's@ *\([^ \/][^ \]*\)@ $$(..)\1@g' \
-e 's@ *\.\.\/\([^ \]*\)@ $$(..)\1@g' \