Commit 3b801be5 authored by David Mosberger's avatar David Mosberger

ia64: Fix Makefiles so that "make clean" removes the files generated

	in the tools directory.  Patch by Yu, Fenghua.
parent c2b2b9a2
...@@ -64,6 +64,7 @@ check: vmlinux ...@@ -64,6 +64,7 @@ check: vmlinux
archmrproper: archmrproper:
archclean: archclean:
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot $(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/boot
$(Q)$(MAKE) -f scripts/Makefile.clean obj=arch/ia64/tools
CLEAN_FILES += include/asm-ia64/offsets.h vmlinux.gz bootloader CLEAN_FILES += include/asm-ia64/offsets.h vmlinux.gz bootloader
......
...@@ -4,14 +4,7 @@ TARGET = include/asm-ia64/offsets.h ...@@ -4,14 +4,7 @@ TARGET = include/asm-ia64/offsets.h
src = $(obj) src = $(obj)
all: clean-files := print_offsets.s print_offsets offsets.h
fastdep:
mrproper: clean
clean:
rm -f $(obj)/print_offsets.s $(obj)/print_offsets $(obj)/offsets.h
$(TARGET): $(obj)/offsets.h $(TARGET): $(obj)/offsets.h
@if ! cmp -s $(obj)/offsets.h ${TARGET}; then \ @if ! cmp -s $(obj)/offsets.h ${TARGET}; then \
......
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