diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-10-17 17:34:54 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-31 13:22:13 -0400 |
commit | e32459e24aa9f7778b9394c94bd4af2b6524b3a0 (patch) | |
tree | 881b38d55cd1353c099d92c0927417e2cf51ac1f /drivers/net/npe/Makefile | |
parent | 71f84ef0730e992f50bd82d17a003daafd149cad (diff) | |
download | u-boot-imx-e32459e24aa9f7778b9394c94bd4af2b6524b3a0.zip u-boot-imx-e32459e24aa9f7778b9394c94bd4af2b6524b3a0.tar.gz u-boot-imx-e32459e24aa9f7778b9394c94bd4af2b6524b3a0.tar.bz2 |
drivers: net: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'drivers/net/npe/Makefile')
-rw-r--r-- | drivers/net/npe/Makefile | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/drivers/net/npe/Makefile b/drivers/net/npe/Makefile index a982678..7fa5ea6 100644 --- a/drivers/net/npe/Makefile +++ b/drivers/net/npe/Makefile @@ -5,16 +5,12 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB := $(obj)libnpe.o - LOCAL_CFLAGS += -I$(TOPDIR)/drivers/net/npe/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux CFLAGS += $(LOCAL_CFLAGS) CPPFLAGS += $(LOCAL_CFLAGS) # needed for depend HOSTCFLAGS += $(LOCAL_CFLAGS) -COBJS-$(CONFIG_IXP4XX_NPE) := npe.o \ +obj-$(CONFIG_IXP4XX_NPE) := npe.o \ miiphy.o \ IxOsalBufferMgt.o \ IxOsalIoMem.o \ @@ -63,21 +59,3 @@ COBJS-$(CONFIG_IXP4XX_NPE) := npe.o \ IxNpeMhSend.o \ IxNpeMhSolicitedCbMgr.o \ IxNpeMhUnsolicitedCbMgr.o - -SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS-y)) -SOBJS := $(addprefix $(obj),$(SOBJS)) - -all: $(LIB) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### |