Commit ea5083d6 authored by David Mosberger's avatar David Mosberger

ia64: Fix Keith's Makefile fix so it actually works.

parent 9f4cbf38
...@@ -38,7 +38,7 @@ $(obj)/offsets.h: $(obj)/print_offsets ...@@ -38,7 +38,7 @@ $(obj)/offsets.h: $(obj)/print_offsets
comma := , comma := ,
$(obj)/print_offsets: $(src)/print_offsets.c FORCE $(obj)/print_offsets: $(src)/print_offsets.c FORCE
[ ! -r $(TARGET) ] || echo "#define IA64_TASK_SIZE 0" > $(TARGET) [ -r $(TARGET) ] || echo "#define IA64_TASK_SIZE 0" > $(TARGET)
$(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) \ $(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) \
$(src)/print_offsets.c -o $@ $(src)/print_offsets.c -o $@
...@@ -50,7 +50,7 @@ $(obj)/offsets.h: $(obj)/print_offsets.s ...@@ -50,7 +50,7 @@ $(obj)/offsets.h: $(obj)/print_offsets.s
$(AWK) -f $(src)/print_offsets.awk $^ > $@ $(AWK) -f $(src)/print_offsets.awk $^ > $@
$(obj)/print_offsets.s: $(src)/print_offsets.c $(obj)/print_offsets.s: $(src)/print_offsets.c
[ ! -r $(TARGET) ] || echo "#define IA64_TASK_SIZE 0" > $(TARGET) [ -r $(TARGET) ] || echo "#define IA64_TASK_SIZE 0" > $(TARGET)
$(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -S $^ -o $@ $(CC) $(CFLAGS) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) -S $^ -o $@
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment