summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-03-13 18:54:50 -0500
committerWolfgang Denk <wd@denx.de>2009-04-04 01:18:11 +0200
commite50abf662efbf4ce0e731062c8d3c8ec54763ae2 (patch)
treea7f0e566caf0e7219fba7559abc3b7cddd017040
parentb0d4d7219a4806e46affc96bd1f65397194a6e72 (diff)
downloadu-boot-imx-e50abf662efbf4ce0e731062c8d3c8ec54763ae2.zip
u-boot-imx-e50abf662efbf4ce0e731062c8d3c8ec54763ae2.tar.gz
u-boot-imx-e50abf662efbf4ce0e731062c8d3c8ec54763ae2.tar.bz2
tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--tools/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/tools/Makefile b/tools/Makefile
index d6d366d..9fe5b1a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -35,22 +35,15 @@ TOOLSUBDIRS =
# multiple symbol definitions are treated as errors, hence the
# -multiply_defined suppress option to turn off this error.
#
-ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
-HOST_CFLAGS = -traditional-cpp -Wall
-HOST_LDFLAGS =-multiply_defined suppress
-else
-ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc)
-HOST_CFLAGS = -Wall -pedantic
+HOST_CFLAGS = -Wall
HOST_LDFLAGS =
-#
-# Everyone else
-#
+ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
+HOST_CFLAGS += -traditional-cpp
+HOST_LDFLAGS += -multiply_defined suppress
else
-HOST_CFLAGS = -Wall -pedantic
-HOST_LDFLAGS =
-endif
+HOST_CFLAGS += -pedantic
endif
#