Skip to content
Snippets Groups Projects
Commit fdd91fae authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

drivers/net/npe: descend only when CONFIG_IXP4XX_NPE=y


CONFIG_IXP4XX_NPE is defined only for CPU ixp.
It is not necessary to filter by CPU ixp.

Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent fc9ac356
No related branches found
No related tags found
No related merge requests found
...@@ -242,9 +242,7 @@ LIBS-y += $(CPUDIR)/lib$(CPU).o ...@@ -242,9 +242,7 @@ LIBS-y += $(CPUDIR)/lib$(CPU).o
ifdef SOC ifdef SOC
LIBS-y += $(CPUDIR)/$(SOC)/lib$(SOC).o LIBS-y += $(CPUDIR)/$(SOC)/lib$(SOC).o
endif endif
ifeq ($(CPU),ixp) LIBS-$(CONFIG_IXP4XX_NPE) += drivers/net/npe/libnpe.o
LIBS-y += drivers/net/npe/libnpe.o
endif
LIBS-$(CONFIG_OF_EMBED) += dts/libdts.o LIBS-$(CONFIG_OF_EMBED) += dts/libdts.o
LIBS-y += arch/$(ARCH)/lib/lib$(ARCH).o LIBS-y += arch/$(ARCH)/lib/lib$(ARCH).o
LIBS-y += fs/libfs.o \ LIBS-y += fs/libfs.o \
......
...@@ -10,7 +10,7 @@ CFLAGS += $(LOCAL_CFLAGS) ...@@ -10,7 +10,7 @@ CFLAGS += $(LOCAL_CFLAGS)
CPPFLAGS += $(LOCAL_CFLAGS) # needed for depend CPPFLAGS += $(LOCAL_CFLAGS) # needed for depend
HOSTCFLAGS += $(LOCAL_CFLAGS) HOSTCFLAGS += $(LOCAL_CFLAGS)
obj-$(CONFIG_IXP4XX_NPE) := npe.o \ obj-y := npe.o \
miiphy.o \ miiphy.o \
IxOsalBufferMgt.o \ IxOsalBufferMgt.o \
IxOsalIoMem.o \ IxOsalIoMem.o \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment