X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=scons%2Fcustom.py;h=364da292dd3299117ddf84018eb5bddb754fee5a;hb=4243ca1144eef5783ed080cce9db1a8dda2c6360;hp=572b963388a8819fd4ed3c8adcbf5c9640ee3104;hpb=43867acb6afc7fad26cdc2f22b2a3bb6eeefb2da;p=mesa.git diff --git a/scons/custom.py b/scons/custom.py index 572b963388a..364da292dd3 100644 --- a/scons/custom.py +++ b/scons/custom.py @@ -56,6 +56,7 @@ def quietCommandLines(env): env['SHLINKCOMSTR'] = " Linking $TARGET ..." env['LDMODULECOMSTR'] = " Linking $TARGET ..." env['SWIGCOMSTR'] = " Generating $TARGET ..." + env['CODEGENCOMSTR'] = " Generating $TARGET ..." def createConvenienceLibBuilder(env): @@ -125,7 +126,8 @@ def code_generate(env, script, target, source, command): # This command creates generated code *in the build directory*. command = command.replace('$SCRIPT', script_src.path) - code = env.Command(target, source, command) + action = SCons.Action.Action(command, "$CODEGENCOMSTR") + code = env.Command(target, source, action) # Explicitly mark that the generated code depends on the generator, # and on implicitly imported python modules