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) $<