]> 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 077925521675c41d193f7128c3e8c2f81b3a5b99..ff554cf152396ba8f92bef8baa9d0312ccf16cce 100644 (file)
@@ -5,9 +5,7 @@
 # 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
+ccflags-y += -I$(src)/include -DCONFIG_IXP425_COMPONENT_ETHDB -D__linux
 
 obj-y := npe.o \
        miiphy.o \