[packages] utils/firmwarehotplug: Fix sdcc prereq check on systems where sdcc -v outputs on stderr

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13050 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
agb 2008-10-27 04:29:21 +00:00
parent 778465ae07
commit 09cd636bb5

View File

@ -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, \