]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/net/npe/Makefile
kbuild: use Linux Kernel build scripts
[karo-tx-uboot.git] / drivers / net / npe / Makefile
index 7fa5ea635f02b3ca23c68d9c0473083b9afa46c9..ff554cf152396ba8f92bef8baa9d0312ccf16cce 100644 (file)
@@ -5,12 +5,9 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-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)
+ccflags-y += -I$(src)/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux
 
-obj-$(CONFIG_IXP4XX_NPE) := npe.o \
+obj-y := npe.o \
        miiphy.o \
        IxOsalBufferMgt.o \
        IxOsalIoMem.o \