summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:41 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:12:25 +0200
commit1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78 (patch)
treeb0682679ead66dffb16ac5e10d549c747d3210e6 /tools
parent123c48a21ce08b4a33f36e96cc75f92324e761d7 (diff)
downloadu-boot-imx-1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78.zip
u-boot-imx-1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78.tar.gz
u-boot-imx-1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78.tar.bz2
tools/Makefile: Compile ncb when CONFIG_NETCONSOLE
Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f648d34..35e694d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -81,6 +81,7 @@ BIN_FILES-$(CONFIG_CMD_NET) += gen_eth_addr$(SFX)
BIN_FILES-$(CONFIG_LCD_LOGO) += bmp_logo$(SFX)
BIN_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo$(SFX)
BIN_FILES-$(CONFIG_INCA_IP) += inca-swap-bytes$(SFX)
+BIN_FILES-$(CONFIG_NETCONSOLE) += ncb$(SFX)
# Source files which are symlinked from elsewhere in U-Boot
OBJ_LINKS-y += env_embedded.o
@@ -97,6 +98,7 @@ OBJ_FILES-$(CONFIG_CMD_NET) += gen_eth_addr.o
OBJ_FILES-$(CONFIG_LCD_LOGO) += bmp_logo.o
OBJ_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo.o
OBJ_FILES-$(CONFIG_INCA_IP) += inca-swap-bytes.o
+OBJ_FILES-$(CONFIG_NETCONSOLE) += ncb.o
# Don't build by default
#ifeq ($(ARCH),ppc)