prereq-build: check for "bc" (#13767)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 30 Jun 2013 17:14:47 +0000 (17:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 30 Jun 2013 17:14:47 +0000 (17:14 +0000)
bc is required by the kernel to compute timeconsts files, add bc to the
list of prereq to build OpenWrt.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37108

include/prereq-build.mk

index 59ea7ef9a78f976eba2b9169aab98fbc6b1571cd..dadce81ad55d1d9b9c84864706a2e6b96eac0ce3 100644 (file)
@@ -183,3 +183,7 @@ endef
 $(eval $(call Require,getopt-extended, \
        Please install an extended getopt version that supports --long \
 ))
+
+$(eval $(call RequireCommand,bc, \
+       Please install bc. \
+))