Commit 0dd877c9 authored by Marcel Huber's avatar Marcel Huber
Browse files

add install tool if not available

parent 13bd2bb7
......@@ -128,6 +128,13 @@ def installSystemLibs(source):
env.Depends(aliasPrefix +, source_syslibs)
def prePackageCollection(env, **_):
# ensure we have getBitwidth() and other functions available
for required_tool in ['install']:
if required_tool not in env['TOOLS']:
def generate(env, *args, **kw):
from SCons.Action import ActionFactory
"""Add the options, builders and wrappers to the current Environment."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment