Last change
on this file since 7e53c37 was 7e53c37, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
Update files with /bin/bash shebang
|
-
Property mode
set to
100755
|
File size:
694 bytes
|
Rev | Line | |
---|
[d548fc0] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
[7e53c37] | 3 | # SPDX-FileCopyrightText: 2019 Jiri Svoboda
|
---|
[d548fc0] | 4 | #
|
---|
[7e53c37] | 5 | # SPDX-License-Identifier: BSD-3-Clause
|
---|
[d548fc0] | 6 | #
|
---|
| 7 | # Get build configration information
|
---|
| 8 | # HelenOS Cross Compiler Wrapper (XCW)
|
---|
| 9 | # Facilitate cross-compiling external software to HelenOS
|
---|
| 10 | #
|
---|
| 11 |
|
---|
| 12 | XCW="$(dirname "$0")"
|
---|
| 13 | BUILD_ROOT="$(dirname "$(dirname "$(dirname "$XCW")")")"
|
---|
| 14 | if [ -z "$EXPORT_DIR" ]; then
|
---|
| 15 | EXPORT_DIR="$BUILD_ROOT/export"
|
---|
| 16 | fi
|
---|
| 17 |
|
---|
| 18 | HELENOS_EXPORT_ROOT="$EXPORT_DIR"
|
---|
| 19 |
|
---|
| 20 | source "${EXPORT_DIR}/config.sh"
|
---|
| 21 |
|
---|
| 22 | case ".$1" in
|
---|
| 23 | *.--install-dir) echo "$HELENOS_OVERLAY_PATH";;
|
---|
| 24 | (*)
|
---|
| 25 | echo "Unknown option $1" >&2
|
---|
| 26 | echo "Usage: helenos-bld-config <option>" >&2
|
---|
| 27 | echo " --install-dir Print directory where files should be installed" >&2
|
---|
| 28 | exit 1;;
|
---|
| 29 | esac
|
---|
Note:
See
TracBrowser
for help on using the repository browser.