X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=scons%2Fcustom.py;h=7c59fe985d026ea83e64b3d7871bdb102704f7b2;hb=1a57717bbe8a2cedf2e1bb72cfd7ec85cd2350fc;hp=572b963388a8819fd4ed3c8adcbf5c9640ee3104;hpb=c727fa6dbf5a9fca5fc94de06c309f54402449d1;p=mesa.git diff --git a/scons/custom.py b/scons/custom.py index 572b963388a..7c59fe985d0 100644 --- a/scons/custom.py +++ b/scons/custom.py @@ -56,6 +56,9 @@ def quietCommandLines(env): env['SHLINKCOMSTR'] = " Linking $TARGET ..." env['LDMODULECOMSTR'] = " Linking $TARGET ..." env['SWIGCOMSTR'] = " Generating $TARGET ..." + env['LEXCOMSTR'] = " Generating $TARGET ..." + env['YACCCOMSTR'] = " Generating $TARGET ..." + env['CODEGENCOMSTR'] = " Generating $TARGET ..." def createConvenienceLibBuilder(env): @@ -125,7 +128,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