X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=fx2lib%2Flib%2Ffx2.mk;fp=fx2lib%2Flib%2Ffx2.mk;h=b001b932a82519d705d9d54ab08ce9d48d385698;hb=cd13b02dd60f0e93bd0ef7ef8e271c3b47a31117;hp=d7687a4503167bda7b891721d770b84934ad3916;hpb=4836f7921c83b4713e897ee8c38e48a4433325c4;p=sigrok-firmware-fx2lafw.git 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