Firmwarehotplug actually requires a sdcc that supports some targets, Debian lenny has named this sdcc version sdcc-nf, but most other distros, including etch will be able to build this package using their stock sdcc
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12974 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
184c8c24f0
commit
1d86c0a92d
@ -50,6 +50,16 @@ endef
|
||||
|
||||
$(eval $(call BuildPackage,firmwarehotplug))
|
||||
|
||||
$(eval $(call RequireCommand,sdcc-nf, \
|
||||
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
|
||||
endef
|
||||
|
||||
$(eval $(call RequireCommand,sdcc, \
|
||||
$(PKG_NAME) requires the SDCC Cross Compiler (sdcc). \
|
||||
))
|
||||
|
||||
$(eval $(call Require,working-sdcc, \
|
||||
$(PKG_NAME) requires a SDCC Cross Compiler (sdcc) that supports the following targets : \
|
||||
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08. You might consider \
|
||||
installing the non-free version. \
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user