summaryrefslogtreecommitdiff
path: root/src/drivers/net/Makefile.inc
blob: 20dbe50fb1afea93158686e28544c8a0a4125452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
ramstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
ramstage-$(CONFIG_REALTEK_8168_RESET) += r8168.c

ifneq ($(CONFIG_REALTEK_8168_MACADDRESS),"")
$(obj)/rt8168-macaddress: $(DOTCONFIG)
		echo "    Creating a file holding the rt8168 macaddress"
		printf %s $(CONFIG_REALTEK_8168_MACADDRESS) > $@

cbfs-files-$(CONFIG_REALTEK_8168_RESET) += rt8168-macaddress
rt8168-macaddress-file := $(obj)/rt8168-macaddress
rt8168-macaddress-type := raw
endif