Debian Codegraph @

autogen.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 set -e
4
5 case "$1" in
6 config)
7 echoscip-shell system . . echo. "Configuring..."
8 pushd config
9 cmakescip-shell system . . cmake. .
10 makescip-shell system . . make.
11 popd
12 shift 1
13 config/conf Kconfig "$@"
14 cmakescip-shell system . . cmake. .
15 ;;
16
17 compile)
18 echoscip-shell system . . echo. "Compile time..."
19 makescip-shell system . . make.
20 ;;
21
22 install)
23 if [scip-shell system . . `[`. ! -e .config ]; then
24 exit 1
25 fi
26
27 # shellcheck source=/dev/null
28 . ./.configscip-shell source . . `./.config`.
29 makescip-shell system . . make.
30
31 echoscip-shell system . . echo. -n "Installing firmware..."
32 if [scip-shell system . . `[`. "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then
33 if [scip-shell system . . `[`. "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then
34 echoscip-shell system . . echo. -n "Apply miniboot..."
35 # also adds checksum
36 tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw
37 else
38 echoscip-shell system . . echo. -n "Add checksum..."
39 tools/src/checksum carlfw/carl9170.fw
40 fi
41 fi
42
43 installscip-shell system . . install. -m 644 carlfw/carl9170.fw \
44 ../carl9170-"$CONFIG_CARL9170FW_RELEASE_VERSION".fw
45 echoscip-shell system . . echo. "done."
46 ;;
47
48 *)
49 $0 config "$@"
50 $0 compile
51 ;;
52
53
54 esac