mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2026-01-01 21:15:20 -08:00
generate .build.env as part of configure script
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.build.env
|
||||
build
|
||||
cross
|
||||
|
||||
11
configure
vendored
11
configure
vendored
@@ -153,8 +153,17 @@ fi
|
||||
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Generate .build.env file
|
||||
cat > .build.env << EOF
|
||||
# Generated by configure on $(date)
|
||||
# Source this file to add the cross-compiler toolchain to your PATH
|
||||
export PATH="$PREFIX/bin:\$PATH"
|
||||
EOF
|
||||
|
||||
echo ""
|
||||
echo "=== Build Complete ==="
|
||||
echo "Toolchain installed to: $PREFIX"
|
||||
echo "Add to PATH: export PATH=\"$PREFIX/bin:\$PATH\""
|
||||
echo ""
|
||||
echo "To use the toolchain, run:"
|
||||
echo " source .build.env"
|
||||
echo "======================"
|
||||
|
||||
Reference in New Issue
Block a user