File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# Arch kernel folder.
1515export KOS_ARCH_DIR=" ${KOS_BASE} /kernel/arch/${KOS_ARCH} "
1616
17- # Pull in the arch environ file.
18- . ${KOS_BASE} /environ_${KOS_ARCH} .sh
19-
2017# Add the compiler bins dir to the path if it is not already.
2118if ! expr " :$PATH :" : " .*:${KOS_CC_BASE} /bin:.*" > /dev/null ; then
2219 export PATH=" ${PATH} :${KOS_CC_BASE} /bin"
@@ -48,6 +45,10 @@ export KOS_LD="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-ld"
4845export KOS_RANLIB=" ${KOS_CC_BASE} /bin/${KOS_CC_PREFIX} -gcc-ranlib"
4946export KOS_STRIP=" ${KOS_CC_BASE} /bin/${KOS_CC_PREFIX} -strip"
5047export KOS_SIZE=" ${KOS_CC_BASE} /bin/${KOS_CC_PREFIX} -size"
48+
49+ # Pull in the arch environ file.
50+ . ${KOS_BASE} /environ_${KOS_ARCH} .sh
51+
5152export KOS_CFLAGS=" ${KOS_CFLAGS} ${KOS_INC_PATHS} -D_arch_${KOS_ARCH} -D_arch_sub_${KOS_SUBARCH} -Wall -g"
5253export KOS_CPPFLAGS=" ${KOS_CPPFLAGS} ${KOS_INC_PATHS_CPP} "
5354
You can’t perform that action at this time.
0 commit comments