[U-Boot] [PATCH 24/26 v2] tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation
Peter Tyser
ptyser at xes-inc.com
Thu Mar 12 20:49:13 CET 2009
Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
---
tools/Makefile | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index 25f8150..6a40d88 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -35,22 +35,13 @@ 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
HOST_LDFLAGS =
-#
-# Everyone else
-#
-else
-HOST_CFLAGS = -Wall
-HOST_LDFLAGS =
-endif
+ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
+HOST_CFLAGS += -traditional-cpp
+HOST_LDFLAGS += -multiply_defined suppress
endif
#
--
1.6.0.2.GIT
More information about the U-Boot
mailing list