account for more sdcc variants

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26475 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2011-04-04 20:46:25 +00:00
parent 4988153dbc
commit 1d36d44150

View File

@ -48,7 +48,7 @@ define Package/firmwarehotplug/install
endef
define Require/working-sdcc
sdcc -v 2>&1 | awk '($$$$1 == "SDCC") && ($$$$3 ~ "mcs51/gbz80/z80/ds390/pic16/pic14/TININative/") { print "ok" }' | grep ok > /dev/null
sdcc -v 2>&1 | awk '($$$$1 == "SDCC") && ($$$$3 ~ "mcs51/gbz80/z80" && $$$$3 ~ "/ds390/pic16/pic14/TININative") { print "ok" }' | grep ok > /dev/null
endef
$(eval $(call RequireCommand,sdcc, \