Changeset d231a54 in mainline
- Timestamp:
- 2025-02-24T11:12:39Z (19 hours ago)
- Branches:
- master
- Parents:
- be62ebc
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-02-24 10:46:00)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-02-24 11:12:39)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.sh
rbe62ebc rd231a54 110 110 PLATFORM=`sed -n '/^PLATFORM\b/p' Makefile.config | sed 's:[^=]*= ::'` 111 111 MACHINE=`sed -n '/^MACHINE\b/p' Makefile.config | sed 's:[^=]*= ::'` 112 COMPILER=`sed -n '/^COMPILER\b/p' Makefile.config | sed 's:[^=]*= ::'` 112 113 113 114 cross_target="$PLATFORM" … … 119 120 fi 120 121 122 if [ "$COMPILER" = 'clang' ]; then 123 cross_target="${cross_target}_clang" 124 fi 125 121 126 cross_def="${SOURCE_DIR}/meson/cross/${cross_target}" 122 127 cc_arch=`sed -n "s:cc_arch = '\(.*\)':\1:p" "$cross_def"` 123 128 124 compname="$cc_arch-helenos-gcc" 129 if [ "$COMPILER" = 'clang' ]; then 130 compname="$cc_arch-helenos-clang" 131 else 132 compname="$cc_arch-helenos-gcc" 133 fi 125 134 unset compprefix 126 135 -
kernel/meson.build
rbe62ebc rd231a54 117 117 if not CONFIG_LINE_DEBUG 118 118 # Keep the debug info needed to get file names for kernel stack traces. 119 kernel_c_args += [ '-gdwarf-5', '-g1', '-gno-statement-frontiers' ]119 kernel_c_args += cc.get_supported_arguments([ '-gdwarf-5', '-g1', '-gno-statement-frontiers' ]) 120 120 endif 121 121 -
tools/toolchain.sh
rbe62ebc rd231a54 512 512 # Symlink clang and lld to the install path. 513 513 CLANG="`which clang 2> /dev/null || echo "/usr/bin/clang"`" 514 CLANGPP="`which clang++ 2> /dev/null || echo "/usr/bin/clang++"`" 514 515 LLD="`which ld.lld 2> /dev/null || echo "/usr/bin/ld.lld"`" 515 516 516 517 ln -s $CLANG "${INSTALL_DIR}${CROSS_PREFIX}/bin/${TARGET}-clang" 518 ln -s $CLANGPP "${INSTALL_DIR}${CROSS_PREFIX}/bin/${TARGET}-clang++" 517 519 ln -s $LLD "${INSTALL_DIR}${CROSS_PREFIX}/bin/${TARGET}-ld.lld" 518 520 }
Note:
See TracChangeset
for help on using the changeset viewer.