From: Uwe Hermann Date: Sun, 22 Jul 2012 16:22:15 +0000 (+0200) Subject: Makefiles: Add missing "2>/dev/null" in some places. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.0~7 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cd13b02dd60f0e93bd0ef7ef8e271c3b47a31117;p=sigrok-firmware-fx2lafw.git Makefiles: Add missing "2>/dev/null" in some places. --- diff --git a/fx2lib/lib/Makefile b/fx2lib/lib/Makefile index c8f19d55..d894a517 100644 --- a/fx2lib/lib/Makefile +++ b/fx2lib/lib/Makefile @@ -21,15 +21,15 @@ SDCC = sdcc -mmcs51 $(SDCCFLAGS) LIBS = fx2.lib # The sdcc 8051 assembler binary has/had different names. -ifneq ($(shell which sdas8051),) +ifneq ($(shell which sdas8051 2>/dev/null),) # Newer sdcc, Debian / Ubuntu SDAS8051 = sdas8051 endif -ifneq ($(shell which sdcc-sdas8051),) +ifneq ($(shell which sdcc-sdas8051 2>/dev/null),) # Newer sdcc, Fedora SDAS8051 = sdcc-sdas8051 endif -ifneq ($(shell which asx8051),) +ifneq ($(shell which asx8051 2>/dev/null),) # Older sdcc SDAS8051 = asx8051 endif diff --git a/fx2lib/lib/fx2.mk b/fx2lib/lib/fx2.mk index d7687a45..b001b932 100644 --- a/fx2lib/lib/fx2.mk +++ b/fx2lib/lib/fx2.mk @@ -36,15 +36,15 @@ # # The sdcc 8051 assembler binary has/had different names. -ifneq ($(shell which sdas8051),) +ifneq ($(shell which sdas8051 2>/dev/null),) # Newer sdcc, Debian / Ubuntu SDAS8051 = sdas8051 endif -ifneq ($(shell which sdcc-sdas8051),) +ifneq ($(shell which sdcc-sdas8051 2>/dev/null),) # Newer sdcc, Fedora SDAS8051 = sdcc-sdas8051 endif -ifneq ($(shell which asx8051),) +ifneq ($(shell which asx8051 2>/dev/null),) # Older sdcc SDAS8051 = asx8051 endif