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

From: Yoshinori Sato
Date: Sun Mar 14 2004 - 11:33:34 EST


diff -Nru -X .exclude-diff linux-2.6.4/arch/h8300/platform/h8300h/Makefile linux-2.6.4-h8300/arch/h8300/platform/h8300h/Makefile
--- linux-2.6.4/arch/h8300/platform/h8300h/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8300h/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -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
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
--- linux-2.6.4/arch/h8300/platform/h8300h/aki3068net/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8300h/aki3068net/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -4,8 +4,3 @@

extra-y := crt0_ram.o
obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
- rm -f *.[oa]
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
--- linux-2.6.4/arch/h8300/platform/h8300h/generic/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8300h/generic/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -4,6 +4,3 @@

obj-y := timer.o
extra-y = crt0_$(MODEL).o
-
-clean:
- rm -f *.[oa]
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
--- linux-2.6.4/arch/h8300/platform/h8300h/h8max/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8300h/h8max/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -4,8 +4,3 @@

extra-y := crt0_ram.o
obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
- rm -f *.[oa]
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
--- linux-2.6.4/arch/h8300/platform/h8s/edosk2674/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8s/edosk2674/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -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]
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
--- linux-2.6.4/arch/h8300/platform/h8s/generic/Makefile 2004-03-14 18:17:37.000000000 +0900
+++ linux-2.6.4-h8300/arch/h8300/platform/h8s/generic/Makefile 2004-03-15 00:17:44.000000000 +0900
@@ -4,8 +4,3 @@

extra-y = crt0_$(MODEL).o
obj-y := timer.o
-
-timer.o: timer.c
-
-clean:
- rm -f *.[oa]

--
Yoshinori Sato
<ysato@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/