From 24007564bfa07215d2b49a5a3bff2752253fbea6 Mon Sep 17 00:00:00 2001
From: Stefan Kalkowski <stefan.kalkowski@genode-labs.com>
Date: Fri, 27 Sep 2013 09:31:55 +0200
Subject: [PATCH] l4lx: check for "bc" tool on prepare

---
 ports-foc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ports-foc/Makefile b/ports-foc/Makefile
index bf9ae07f6e..98ca5b375c 100644
--- a/ports-foc/Makefile
+++ b/ports-foc/Makefile
@@ -24,6 +24,7 @@ UPDATE_PATCH    = $(word 1, $(PATCH-$(TARGET)))
 check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
 
 $(call check_tool,patch)
+$(call check_tool,bc)
 
 ifeq ($(TARGET), l4android)
 $(call check_tool,git)