Remove all build/ prefixes in the build output.
[coreboot.git] / util / sconfig / parsedesc.g
index 1347c8743821fe6b0670b00c88fe5702c5b9985f..acb8524838c6162dc339e82cdcfadd3782609ef7 100644 (file)
@@ -126,7 +126,7 @@ def generate(inputfilename, outputfilename='', dump=0, **flags):
        if inputfilename[-2:]=='.g': outputfilename = inputfilename[:-2]+'.py'
        else: raise "Invalid Filename", outputfilename
         
-    print '    SCONFIG   ', join(outputfilename.split('/')[-5:], '/')
+    print '    SCONFIG   ', join(outputfilename.split('/')[-4:], '/')
     
     DIVIDER = '\n%%\n' # This pattern separates the pre/post parsers
     preparser, postparser = None, None # Code before and after the parser desc