Strange Makefile rule

Peter Senna Tschudin peter.senna at gmail.com
Tue Aug 20 12:42:35 EDT 2013


I do not have cross compile environment but I'm curious how the
Makefile rule works:

linux-next]$ cat drivers/net/ethernet/arc/Makefile

obj-$(CONFIG_ARC_EMAC) += arc_emac.o

There is no file named arc_emac.h and arc_emac.c at
drivers/net/ethernet/arc, so what does that line do?

-- 
Peter



More information about the Kernelnewbies mailing list