From 0650a05947c9f67cedff693d2e1c2f61a8e6c0d3 Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Fri, 2 Oct 2015 13:32:32 +0200 Subject: factor common awk functions for CFI generation scripts into new file There is a lot which could be common between i386 and x86_64, but none of it will be useful for any other arch. These should be useful for all archs, however. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a6a43b9..844a0176 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ $(foreach s,$(wildcard src/*/$(ARCH)*/*.s),$(eval $(call mkasmdep,$(s)))) # Choose invocation of assembler to be used # $(1) is input file, $(2) is output file, $(3) is assembler flags ifeq ($(ADD_CFI),yes) - AS_CMD = LC_ALL=C awk -f tools/add-cfi.$(ARCH).awk $< | $(CC) -x assembler -c -o $@ - + AS_CMD = LC_ALL=C awk -f tools/add-cfi.common.awk -f tools/add-cfi.$(ARCH).awk $< | $(CC) -x assembler -c -o $@ - else AS_CMD = $(CC) -c -o $@ $< endif -- cgit 1.4.1