Skip to contentSkip to conversation

H8/300 support update (4/4) - makefile cleanup

PATCH New Yoshinori Sato 1 participant 1 message Mar 14, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 H8/300 support update (4/4) - makefile cleanup

arch/h8300/platform/h8300h/Makefile +1 -11
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8300h/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8300h/Makefile
@@ -4,15 +4,5 @@
 # Reuse any files we can from the H8/300H
 #
 
-#VPATH := $(VPATH):$(BOARD)
+obj-y := entry.o ints_h8300h.o
 
-.S.o:
-	$(CC) -D__ASSEMBLY__ $(AFLAGS) -I. -c $< -o $*.o
-
-obj-y := entry.o ints.o
-
-$(BOARD)/crt0_$(MODEL).o: $(BOARD)/crt0_$(MODEL).S
-
-entry.o: entry.S
-
-ints.o: ints.c
arch/h8300/platform/h8300h/aki3068net/Makefile +0 -5
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8300h/aki3068net/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8300h/aki3068net/Makefile
@@ -4,8 +4,3 @@
 
 extra-y := crt0_ram.o
 obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
-	rm -f *.[oa]
arch/h8300/platform/h8300h/generic/Makefile +0 -3
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8300h/generic/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8300h/generic/Makefile
@@ -4,6 +4,3 @@
 
 obj-y := timer.o
 extra-y =  crt0_$(MODEL).o
-
-clean:
-	rm -f *.[oa]
arch/h8300/platform/h8300h/h8max/Makefile +0 -5
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8300h/h8max/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8300h/h8max/Makefile
@@ -4,8 +4,3 @@
 
 extra-y := crt0_ram.o
 obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
-	rm -f *.[oa]
arch/h8300/platform/h8s/edosk2674/Makefile +1 -6
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8s/edosk2674/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8s/edosk2674/Makefile
@@ -2,10 +2,5 @@
 # Makefile for the linux kernel.
 #
 
-extra-y := crt0_ram.o
+extra-y := crt0_$(MODEL).o
 obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
-	rm -f *.[oa]
arch/h8300/platform/h8s/generic/Makefile +0 -5
diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8s/generic/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8s/generic/Makefile
@@ -4,8 +4,3 @@
 
 extra-y =  crt0_$(MODEL).o
 obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
-	rm -f *.[oa]
Signature · 2 lines
Yoshinori Sato
<[email protected]>