projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
243b8c2
)
Firmwarehotplug actually requires a sdcc that supports some targets, Debian lenny...
author
Florian Fainelli
<florian@openwrt.org>
Mon, 13 Oct 2008 15:45:11 +0000
(15:45 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 13 Oct 2008 15:45:11 +0000
(15:45 +0000)
SVN-Revision: 12974
utils/firmwarehotplug/Makefile
patch
|
blob
|
history
diff --git
a/utils/firmwarehotplug/Makefile
b/utils/firmwarehotplug/Makefile
index ecde073613afedeec2a81a8d53d85da40ea6708c..16e5c977439dc373526e28bea8e58d1315148511 100644
(file)
--- a/
utils/firmwarehotplug/Makefile
+++ b/
utils/firmwarehotplug/Makefile
@@
-50,6
+50,16
@@
endef
$(eval $(call BuildPackage,firmwarehotplug))
$(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). \
))
$(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. \
+))