From e0a6140dd381e1eed1ada2291166ef2616d8822b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 25 Mar 2008 22:50:41 +0100 Subject: ne2000 driver: change #ifdef to Makefile conditional compilation Signed-off-by: Wolfgang Denk --- drivers/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/Makefile') diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 321bd08..7d7df9c 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -41,7 +41,7 @@ COBJS-y += lan91c96.o COBJS-y += macb.o COBJS-y += mcffec.o COBJS-y += natsemi.o -COBJS-y += ne2000.o +COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o COBJS-y += netarm_eth.o COBJS-y += netconsole.o COBJS-y += ns7520_eth.o -- cgit v1.1