summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2020-03-15 17:39:01 +0100
committermarex <marex@desktop.lan>2020-05-01 15:37:48 +0200
commit8148693b988fb36463dbc12cef4b7947acae9846 (patch)
tree2d61ef846de8f8f3b6bb4600c562c9644e93557e /examples
parent8eb4fef11b5420020518486ef0305aada0a02467 (diff)
net: smc911x: Add DM support
Add support for U-Boot DM and DT probing. Furthermore, build the SMC911x standalone EEPROM example only for the non-DM case, as it is not converted yet. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index 779e2528b7..4a34813804 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -5,10 +5,13 @@
extra-y := hello_world
extra-$(CONFIG_SMC91111) += smc91111_eeprom
-extra-$(CONFIG_SMC911X) += smc911x_eeprom
extra-$(CONFIG_SPI_FLASH_ATMEL) += atmel_df_pow2
extra-$(CONFIG_PPC) += sched
+ifndef CONFIG_DM_ETH
+extra-$(CONFIG_SMC911X) += smc911x_eeprom
+endif
+
#
# Some versions of make do not handle trailing white spaces properly;
# leading to build failures. The problem was found with GNU Make 3.80.