mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / net / Makefile.mk
blob9ba459b25a4d6bc697f1eb34cf1d3b7382975d98
1 ## SPDX-License-Identifier: GPL-2.0-only
3 bootblock-$(CONFIG_CONSOLE_NE2K) += ne2k.c
4 romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
5 ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
6 ramstage-$(CONFIG_REALTEK_8168_RESET) += r8168.c
7 ramstage-$(CONFIG_ATHEROS_ATL1E_SETMAC) += atl1e.c
9 ifneq ($(CONFIG_REALTEK_8168_MACADDRESS),"")
10 $(obj)/rt8168-macaddress: $(DOTCONFIG)
11 echo " Creating a file holding the rt8168 macaddress"
12 printf %s $(CONFIG_REALTEK_8168_MACADDRESS) > $@
14 cbfs-files-$(CONFIG_REALTEK_8168_RESET) += rt8168-macaddress
15 rt8168-macaddress-file := $(obj)/rt8168-macaddress
16 rt8168-macaddress-type := raw
17 endif
19 ifneq ($(CONFIG_ATHEROS_ATL1E_MACADDRESS),"")
20 $(obj)/atl1e-macaddress: $(DOTCONFIG)
21 echo " Creating a file holding the atl1e macaddress"
22 printf %s $(CONFIG_ATHEROS_ATL1E_MACADDRESS) > $@
24 cbfs-files-$(CONFIG_ATHEROS_ATL1E_SETMAC) += atl1e-macaddress
25 atl1e-macaddress-file := $(obj)/atl1e-macaddress
26 atl1e-macaddress-type := raw
27 endif