blob: 9ba459b25a4d6bc697f1eb34cf1d3b7382975d98 [file] [log] [blame]
Martin Roth8324fe92023-08-04 12:07:51 -06001## SPDX-License-Identifier: GPL-2.0-only
2
Arthur Heymans91e61172023-11-06 15:20:33 +01003bootblock-$(CONFIG_CONSOLE_NE2K) += ne2k.c
Kyösti Mälkki207379d2014-01-31 07:38:21 +02004romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
5ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
Damien Zammite983f0c2016-05-21 02:24:19 +10006ramstage-$(CONFIG_REALTEK_8168_RESET) += r8168.c
Arthur Heymans7f922b02018-08-22 02:14:04 +02007ramstage-$(CONFIG_ATHEROS_ATL1E_SETMAC) += atl1e.c
Arthur Heymansec74f452017-01-10 15:44:47 +01008
9ifneq ($(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) > $@
13
14cbfs-files-$(CONFIG_REALTEK_8168_RESET) += rt8168-macaddress
15rt8168-macaddress-file := $(obj)/rt8168-macaddress
16rt8168-macaddress-type := raw
17endif
Arthur Heymans7f922b02018-08-22 02:14:04 +020018
19ifneq ($(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) > $@
23
24cbfs-files-$(CONFIG_ATHEROS_ATL1E_SETMAC) += atl1e-macaddress
25atl1e-macaddress-file := $(obj)/atl1e-macaddress
26atl1e-macaddress-type := raw
27endif