Subversion Repositories HelenOS

Rev

Rev 4080 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4080 Rev 4081
Line 255... Line 255...
255
            if (default == '*'):
255
            if (default == '*'):
256
                default = 'y'
256
                default = 'y'
257
       
257
       
258
        outmk.write('# %s\n%s = %s\n\n' % (name, varname, default))
258
        outmk.write('# %s\n%s = %s\n\n' % (name, varname, default))
259
       
259
       
260
        if ((vartype == "y") or (vartype == "y/n") or (vartype == "n/y")):
260
        if ((vartype == "y") or (vartype == "n") or (vartype == "y/n") or (vartype == "n/y")):
261
            if (default == "y"):
261
            if (default == "y"):
262
                outmc.write('/* %s */\n#define %s\n\n' % (name, varname))
262
                outmc.write('/* %s */\n#define %s\n\n' % (name, varname))
263
                outdf.write(' -D%s' % varname)
263
                outdf.write(' -D%s' % varname)
264
        else:
264
        else:
265
            outmc.write('/* %s */\n#define %s %s\n#define %s_%s\n\n' % (name, varname, default, varname, default))
265
            outmc.write('/* %s */\n#define %s %s\n#define %s_%s\n\n' % (name, varname, default, varname, default))