summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:38 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:12:18 +0200
commitcd26a31a23f9a58ba52870f8ffb57d77d1baee20 (patch)
tree4270369e2fd8888cdd84bfa18d86024f5a86e082
parent7cd5cbc34699ccc15d0277f48375cad928d04faf (diff)
downloadu-boot-imx-cd26a31a23f9a58ba52870f8ffb57d77d1baee20.zip
u-boot-imx-cd26a31a23f9a58ba52870f8ffb57d77d1baee20.tar.gz
u-boot-imx-cd26a31a23f9a58ba52870f8ffb57d77d1baee20.tar.bz2
tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IP
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--tools/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e314091..942fae2 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -80,6 +80,7 @@ BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(SFX)
BIN_FILES-y += 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)
# Source files which are symlinked from elsewhere in U-Boot
OBJ_LINKS-y += env_embedded.o
@@ -95,11 +96,7 @@ OBJ_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1.o
OBJ_FILES-y += gen_eth_addr.o
OBJ_FILES-$(CONFIG_LCD_LOGO) += bmp_logo.o
OBJ_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo.o
-
-ifeq ($(ARCH),mips)
-BIN_FILES-y += inca-swap-bytes$(SFX)
-OBJ_FILES-y += inca-swap-bytes.o
-endif
+OBJ_FILES-$(CONFIG_INCA_IP) += inca-swap-bytes.o
# Don't build by default
#ifeq ($(ARCH),ppc)