File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 5
5
6
6
set -ex
7
7
8
- cd /build
8
+ ROOT= ` pwd `
9
9
10
- export PATH=/tools/ deps/bin:/tools/ ${TOOLCHAIN} /bin:/tools /host/bin:$PATH
11
- export PKG_CONFIG_PATH=/tools/ deps/share/pkgconfig:/tools /deps/lib/pkgconfig
10
+ export PATH=${TOOLS_PATH} / deps/bin:${TOOLS_PATH} / ${TOOLCHAIN} /bin:${TOOLS_PATH} /host/bin:$PATH
11
+ export PKG_CONFIG_PATH=${TOOLS_PATH} / deps/share/pkgconfig:${TOOLS_PATH} /deps/lib/pkgconfig
12
12
13
13
# We need the tcl/tk source extracted because tix looks for private symbols.
14
14
tar -xf tcl${TCL_VERSION} -src.tar.gz
@@ -27,9 +27,9 @@ CFLAGS="-fPIC -DUSE_INTERP_RESULT" ./configure \
27
27
--prefix=/tools/deps \
28
28
--x-includes=/tools/deps/include \
29
29
--x-libraries=/tools/deps/lib \
30
- --with-tcl=/tools /deps/lib \
31
- --with-tk=/tools /deps/lib \
30
+ --with-tcl=${TOOLS_PATH} /deps/lib \
31
+ --with-tk=${TOOLS_PATH} /deps/lib \
32
32
--enable-shared=no
33
33
34
- make -j ` nproc `
35
- make -j ` nproc ` install DESTDIR=/build /out
34
+ make -j ${NUM_CPUS}
35
+ make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out
You can’t perform that action at this time.
0 commit comments