From: Andy Boyett Date: Mon, 27 Oct 2008 04:29:21 +0000 (+0000) Subject: [packages] utils/firmwarehotplug: Fix sdcc prereq check on systems where sdcc -v... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=671355b270567288516b910681d375488c8e9a88;hp=7a1b81c95aa971bd012335cc8232169905e914db [packages] utils/firmwarehotplug: Fix sdcc prereq check on systems where sdcc -v outputs on stderr SVN-Revision: 13050 --- diff --git a/utils/firmwarehotplug/Makefile b/utils/firmwarehotplug/Makefile index 16e5c97743..cdf85e3281 100644 --- a/utils/firmwarehotplug/Makefile +++ b/utils/firmwarehotplug/Makefile @@ -51,7 +51,7 @@ endef $(eval $(call BuildPackage,firmwarehotplug)) define Require/working-sdcc - sdcc -v | awk '($$$$1 == "SDCC") && ($$$$3 == "mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08") { print "ok" }' | grep ok > /dev/null + sdcc -v 2>&1 | awk '($$$$1 == "SDCC") && ($$$$3 == "mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08") { print "ok" }' | grep ok > /dev/null endef $(eval $(call RequireCommand,sdcc, \