@@ -23,9 +23,9 @@ src +=Glob('kernel/*.S')
2323
2424
2525if not hasattr (rtconfig , 'CPP' ) or rtconfig .CPP is None :
26- CPP = rtconfig .PREFIX + 'cpp'
26+ rtconfig . CPP = rtconfig .PREFIX + 'cpp'
2727if not hasattr (rtconfig , 'CPPFLAGS' ) or rtconfig .CPPFLAGS is None :
28- CPPFLAGS = ' -E -P -x assembler-with-cpp'
28+ rtconfig . CPPFLAGS = ' -E -P -x assembler-with-cpp'
2929
3030if not os .path .exists (cwd + "/user" + "/arch" + "/" + rtconfig .ARCH + "/vdso.lds" ):
3131 Preprocessing ("user/arch/" + rtconfig .ARCH + "/vdso.lds.S" , ".lds" , CPPPATH = [cwd ])
@@ -36,7 +36,8 @@ if not os.path.exists(cwd + "/user" + "/arch" +"/" + rtconfig.ARCH + "/vdso.lds"
3636# clean = ["xmake", "clean"]
3737
3838vdso_file = os .path .join (cwd , 'user' ,"arch" , rtconfig .ARCH , 'SConstruct' )
39- command = ["scons" , "-f" , vdso_file ]
39+ EXEC_PATH_PASS = "EXEC_PATH=" + rtconfig .EXEC_PATH
40+ command = ["scons" , "-f" , vdso_file , EXEC_PATH_PASS ]
4041clean = ["scons" , "-f" , vdso_file , "--clean" ]
4142
4243if not GetOption ('clean' ):
0 commit comments