diff options
-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 ba444267c4..00d37c2373 100644 --- a/tools/functions.make +++ b/tools/functions.make | |||
@@ -26,7 +26,7 @@ preprocess2file = $(shell $(CC) $(PPCFLAGS) $(3) -E -P -x c -include config.h $( | |||
26 | grep -v '^\#' | grep -v "^$$" > $(2)) | 26 | grep -v '^\#' | grep -v "^$$" > $(2)) |
27 | 27 | ||
28 | asmdefs2file = $(shell $(CC) $(PPCFLAGS) $(3) -S -x c -o - -include config.h $(1) | \ | 28 | asmdefs2file = $(shell $(CC) $(PPCFLAGS) $(3) -S -x c -o - -include config.h $(1) | \ |
29 | perl -ne 'if(/^AD_(\w+):$$/){$$var=$$1}else{/^\W\.word\W(.*)$$/ && $$var && print "\#define $$var $$1\n";$$var=0}' > $2) | 29 | perl -ne 'if(/^_?AD_(\w+):$$/){$$var=$$1}elsif($$var){/^\W\.(?:word|long)\W(.*)$$/ && print "\#define $$var $$1\n";$$var=0}' > $2) |
30 | 30 | ||
31 | c2obj = $(addsuffix .o,$(basename $(subst $(ROOTDIR),$(BUILDDIR),$(1)))) | 31 | c2obj = $(addsuffix .o,$(basename $(subst $(ROOTDIR),$(BUILDDIR),$(1)))) |
32 | 32 | ||