From d96cff6571c16a1cc1b926ef2fd0de8986dc91fe Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Fri, 24 May 2002 07:29:22 -0500 Subject: kbuild: Remove usage of L_TARGET in drivers/* We use O_TARGET everywhere else, so let's just convert the remaining users (They get the implicit built-in.o O_TARGET now) --- drivers/block/paride/Makefile | 2 -- drivers/dio/Makefile | 14 +------------- drivers/fc4/Makefile | 2 -- drivers/nubus/Makefile | 9 --------- drivers/sgi/Makefile | 7 ------- 5 files changed, 1 insertion(+), 33 deletions(-) (limited to 'drivers') diff --git a/drivers/block/paride/Makefile b/drivers/block/paride/Makefile index dc49e4113d41..d62c39cb9b55 100644 --- a/drivers/block/paride/Makefile +++ b/drivers/block/paride/Makefile @@ -5,8 +5,6 @@ # Rewritten to use lists instead of if-statements. # -L_TARGET := paride.a - export-objs := paride.o bpck6.o obj-$(CONFIG_PARIDE) += paride.o diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index 48d3522a7875..522b2e25ba8c 100644 --- a/drivers/dio/Makefile +++ b/drivers/dio/Makefile @@ -1,19 +1,7 @@ # # Makefile for the linux kernel. # -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). -# -# Note 2! The CFLAGS definitions are now in the main makefile... -# -# NB: cribbed from the drivers/sbus/Makefile -- PMM - -SUB_DIRS := -MOD_SUB_DIRS := $(SUB_DIRS) -ALL_SUB_DIRS := $(SUB_DIRS) -L_OBJS := dio.o -L_TARGET := dio.a +obj-y := dio.o include $(TOPDIR)/Rules.make diff --git a/drivers/fc4/Makefile b/drivers/fc4/Makefile index 6fc3c1f58004..37b66772421c 100644 --- a/drivers/fc4/Makefile +++ b/drivers/fc4/Makefile @@ -2,8 +2,6 @@ # Makefile for the Linux Fibre Channel device drivers. # -L_TARGET := fc4.a - export-objs := fc_syms.o fc4-objs := fc.o fc_syms.o diff --git a/drivers/nubus/Makefile b/drivers/nubus/Makefile index 4df102258028..2a41129a0c40 100644 --- a/drivers/nubus/Makefile +++ b/drivers/nubus/Makefile @@ -1,15 +1,6 @@ # # Makefile for the nubus specific drivers. # -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). -# -# Note 2! The CFLAGS definition is now inherited from the -# parent makefile. -# - -L_TARGET := nubus.a export-objs := nubus_syms.o diff --git a/drivers/sgi/Makefile b/drivers/sgi/Makefile index 2b42fcd453a8..f5cc50a63c37 100644 --- a/drivers/sgi/Makefile +++ b/drivers/sgi/Makefile @@ -1,13 +1,6 @@ # # Makefile for the linux kernel. # -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). -# -# Note 2! The CFLAGS definitions are now in the main makefile... - -L_TARGET := sgi.a # # Character and Audio devices for SGI machines. -- cgit v1.2.3