summaryrefslogtreecommitdiffstats
path: root/drivers/net/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-12 05:54:46 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-12 05:54:46 +0000
commit4109e069aea1041db77ddea2a781e0ed088ac064 (patch)
tree27bbd75687c46bedaa504a3c2bfe061bf9099cf9 /drivers/net/Makefile
parent27d864c9ffe7fe2a4a3198c5bed083efb8ed9cc7 (diff)
Fix statement for Sonic driver.
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 4c782b454..3a8721933 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -567,10 +567,12 @@ else
endif
endif
-ifdef CONFIG_MIPS_JAZZ_SONIC
+ifeq ($(CONFIG_MIPS_JAZZ_SONIC),y)
L_OBJS += sonic.o
else
-M_OBJS += sonic.o
+ ifeq ($(CONFIG_MIPS_JAZZ_SONIC),m)
+ M_OBJS += sonic.o
+ endif
endif
ifeq ($(CONFIG_ATARILANCE),y)