From: Roland McGrath Date: Thu, 15 Jan 2004 01:54:31 +0000 (+0000) Subject: 2004-01-13 Segher Boessenkool X-Git-Tag: upstream/2.20~11397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1feda3ed299f7eb73545f013640eab1faef74362;p=platform%2Fupstream%2Flinaro-glibc.git 2004-01-13 Segher Boessenkool * Makerules (gen-as-const): Don't silently continue on failure. --- diff --git a/Makerules b/Makerules index 9aa0703..7e955b6 100644 --- a/Makerules +++ b/Makerules @@ -189,9 +189,11 @@ endif $(common-objpfx)%.h $(common-objpfx)%.h.d: $(..)scripts/gen-as-const.awk \ %.sym $(common-before-compile) $(AWK) -f $< $(filter %.sym,$^) \ - | $(CC) -S -o - $(CFLAGS) $(CPPFLAGS) -x c - \ - -MD -MP -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-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' > $(@:.h.d=.h)T + | $(CC) -S -o $(@:.h.d=.h)T3 $(CFLAGS) $(CPPFLAGS) -x c - \ + -MD -MP -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-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' \ + $(@:.h.d=.h)T3 > $(@:.h.d=.h)T + rm -f $(@:.h.d=.h)T3 sed $(sed-remove-objpfx) $(sed-remove-dotdot) \ $(@:.h=.h.d)T > $(@:.h=.h.d)T2 rm -f $(@:.h=.h.d)T