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
comma := ,
$(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))) \
$(src)/print_offsets.c -o $@
......@@ -50,7 +50,7 @@ $(obj)/offsets.h: $(obj)/print_offsets.s
$(AWK) -f $(src)/print_offsets.awk $^ > $@
$(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 $@
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