[parisc-linux-cvs] make clean removes offset.h

Matthew Wilcox willy@ldl.fc.hp.com
Mon, 26 Feb 2001 11:13:19 -0700


Index: arch/parisc/Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile	2001/02/23 15:49:55	1.21
+++ Makefile	2001/02/26 18:07:09
@@ -65,6 +65,7 @@ SUBDIRS := $(SUBDIRS) $(addprefix arch/p
 CORE_FILES :=  $(addprefix arch/parisc/, kernel/pdc_cons.o kernel/process.o \
 	lib/lib.a mm/mm.o kernel/kernel.o hpux/hpux.o) \
 	$(CORE_FILES) arch/parisc/kernel/init_task.o
+CLEAN_FILES := $(CLEAN_FILES) arch/parisc/tools/offset.[hs] include/asm-parisc/offset.h*
 LIBS := `$(CC) -print-libgcc-file-name` $(TOPDIR)/arch/parisc/lib/lib.a $(LIBS) 
 
 ifdef CONFIG_MATH_EMULATION
@@ -105,7 +106,6 @@ compressed: zImage
 install: 
 
 archclean:
-	$(MAKE) -C arch/$(ARCH)/tools clean
 
 archmrproper:
 
Index: arch/parisc/tools/Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/tools/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	2000/12/27 22:21:44	1.3
+++ Makefile	2001/02/26 18:07:09
@@ -22,7 +22,4 @@ offset.h: offset.s
 
 offset.s: offset.c
 
-distclean clean:
-	rm -f offset.[hs] $(TARGET).new
-
 include $(TOPDIR)/Rules.make