From 5a0d57de5975d7d0c368bf8faa215bfed9393c54 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 6 May 2007 18:52:16 +0000 Subject: [PATCH] The patch is really trivial and fixes silencing dd on systems where &> isn't supported by /bin/sh (eg. solaris) and "fixes" the dtc Makefile in the same manner. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@316 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/Makefile | 2 +- util/dtc/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 65cf25b95d..8b92e8a89c 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -24,7 +24,7 @@ ifeq ($(CONFIG_ARCH_X86),y) INITCFLAGS := $(CFLAGS) -I$(src)/include/arch/x86 -I$(src)/include \ -fno-builtin -SILENT := &> /dev/null +SILENT := >/dev/null 2>&1 # # Build the ROM Image / LAR archive diff --git a/util/dtc/Makefile b/util/dtc/Makefile index 134b006472..461578ab47 100644 --- a/util/dtc/Makefile +++ b/util/dtc/Makefile @@ -23,7 +23,7 @@ ftdump: ftdump.o $(obj)/util/dtc/dtc-parser.tab.c $(obj)/util/dtc/dtc-parser.tab.h: $(src)/util/dtc/dtc-parser.y $(Q)mkdir -p $(obj)/util/dtc $(Q)printf " BISON $(subst $(shell pwd)/,,$(@))\n" - $(Q)cd $(obj)/util/dtc; $(BISON) -d $< 2> $(obj)/util/dtc/dtc.bison.stderr.out > $(obj)/util/dtc/dtc.bison.out + $(Q)cd $(obj)/util/dtc; $(BISON) -d $< > $(obj)/util/dtc/dtc.bison.out 2>&1 $(obj)/util/dtc/lex.yy.c: $(src)/util/dtc/dtc-lexer.l $(Q)cd $(obj)/util/dtc; $(LEX) $<