18
18
CROSS_COMPILER=$CC
19
19
# CROSS_COMPILER_CXX=$CXX
20
20
fi
21
- cd ${LIB_PATH} /libusb-1.0.28
21
+ cd " ${LIB_PATH} /libusb-1.0.28"
22
22
LIBUSB_DIR=$( pwd)
23
23
export LIBUSB_DIR
24
24
./configure --prefix=" ${PREFIX} " --with-pic --disable-udev --enable-static --disable-shared --host=" ${CROSS_COMPILE} "
25
25
make distclean
26
26
./configure --prefix=" ${PREFIX} " --with-pic --disable-udev --enable-static --disable-shared --host=" ${CROSS_COMPILE} "
27
- make -j${NPROC}
27
+ make -j" ${NPROC} "
28
28
make install
29
29
30
30
export PKG_CONFIG_PATH=$PREFIX /lib/pkgconfig
@@ -33,16 +33,16 @@ if [[ $CROSS_COMPILE == "x86_64-apple-darwin13" || $CROSS_COMPILE == "aarch64-ap
33
33
export LIBUSB_1_0_CFLAGS=-I${PREFIX} /include/libusb-1.0
34
34
export LIBUSB_1_0_LIBS=" -L${PREFIX} /lib -lusb-1.0"
35
35
fi
36
- cd ${LIB_PATH} /libusb-compat-0.1.8
36
+ cd " ${LIB_PATH} /libusb-compat-0.1.8"
37
37
LIBUSB0_DIR=$( pwd)
38
38
export LIBUSB0_DIR
39
39
PKG_CONFIG_PATH=" $PREFIX /lib/pkgconfig" ./configure --prefix=" ${PREFIX} " --enable-static --disable-shared --host=" ${CROSS_COMPILE} "
40
40
make distclean
41
41
PKG_CONFIG_PATH=" $PREFIX /lib/pkgconfig" ./configure --prefix=" ${PREFIX} " --enable-static --disable-shared --host=" ${CROSS_COMPILE} "
42
- make -j${NPROC}
42
+ make -j" ${NPROC} "
43
43
make install
44
44
45
- cd ${LIB_PATH} /libftdi1-1.4
45
+ cd " ${LIB_PATH} /libftdi1-1.4"
46
46
rm -rf build && mkdir build && cd build
47
47
48
48
CMAKE_EXTRA_FLAG=" -DSHAREDLIBS=OFF -DBUILD_TESTS=OFF -DPYTHON_BINDINGS=OFF -DEXAMPLES=OFF -DFTDI_EEPROM=OFF"
60
60
# make -j"$(nproc)"
61
61
# make install
62
62
63
- cd ${LIB_PATH} /libelf-0.8.13
63
+ cd " ${LIB_PATH} /libelf-0.8.13"
64
64
LIBELF_DIR=$( pwd)
65
65
export LIBELF_DIR
66
66
./configure --disable-shared --host=" $CROSS_COMPILE " --prefix=" ${PREFIX} "
67
67
make distclean
68
68
./configure --disable-shared --host=" $CROSS_COMPILE " --prefix=" ${PREFIX} "
69
- make -j${NPROC}
69
+ make -j" ${NPROC} "
70
70
make install
71
71
72
72
echo " *****************"
@@ -75,47 +75,47 @@ echo "*****************"
75
75
76
76
export CPPFLAGS=" -P"
77
77
78
- cd ${LIB_PATH} /ncurses-6.3
78
+ cd " ${LIB_PATH} /ncurses-6.3"
79
79
NCURSES_DIR=$( pwd)
80
80
export NCURSES_DIR
81
81
82
82
./configure " $EXTRAFLAGS " --target=" $CROSS_COMPILE " --without-pthread --enable-database --enable-sp-funcs --enable-term-driver --without-shared --without-debug --without-ada --enable-termcap --without-manpages --without-progs --without-tests --host=" $CROSS_COMPILE " --prefix=" ${PREFIX} "
83
83
make distclean
84
84
./configure " $EXTRAFLAGS " --target=" $CROSS_COMPILE " --without-pthread --enable-database --enable-sp-funcs --enable-term-driver --without-shared --without-debug --without-ada --enable-termcap --without-manpages --without-progs --without-tests --host=" $CROSS_COMPILE " --prefix=" ${PREFIX} "
85
- make -j${NPROC}
85
+ make -j" ${NPROC} "
86
86
make install.libs
87
87
88
- cd ${LIB_PATH} /readline-8.0
88
+ cd " ${LIB_PATH} /readline-8.0"
89
89
READLINE_DIR=$( pwd)
90
90
export READLINE_DIR
91
91
./configure --prefix=" $PREFIX " --disable-shared --host=" $CROSS_COMPILE "
92
92
make distclean
93
93
./configure --prefix=" $PREFIX " --disable-shared --host=" $CROSS_COMPILE "
94
- make -j${NPROC}
94
+ make -j" ${NPROC} "
95
95
make install-static
96
96
97
97
if [[ $CROSS_COMPILE != " i686-w64-mingw32" && $CROSS_COMPILE != " x86_64-apple-darwin13" && $CROSS_COMPILE != " aarch64-apple-darwin" ]]; then
98
- cd ${LIB_PATH} /eudev-3.2.10
98
+ cd " ${LIB_PATH} /eudev-3.2.10"
99
99
./autogen.sh
100
100
./configure --enable-static --disable-gudev --disable-introspection --disable-shared --disable-blkid --disable-kmod --disable-manpages --prefix=" $PREFIX " --host=" ${CROSS_COMPILE} "
101
101
make distclean
102
102
./autogen.sh
103
103
./configure --enable-static --disable-gudev --disable-introspection --disable-shared --disable-blkid --disable-kmod --disable-manpages --prefix=" $PREFIX " --host=" ${CROSS_COMPILE} "
104
- make -j${NPROC}
104
+ make -j" ${NPROC} "
105
105
make install
106
106
fi
107
107
108
- cd ${LIB_PATH} /hidapi-0.12.0
108
+ cd " ${LIB_PATH} /hidapi-0.12.0"
109
109
export PKG_CONFIG_PATH=$PREFIX /lib/pkgconfig
110
110
./bootstrap
111
111
./configure --prefix=" $PREFIX " --enable-static --disable-shared --host=" $CROSS_COMPILE "
112
112
make distclean
113
113
./bootstrap
114
114
./configure --prefix=" $PREFIX " --enable-static --disable-shared --host=" $CROSS_COMPILE "
115
- make -j${NPROC}
115
+ make -j" ${NPROC} "
116
116
make install
117
117
118
- tar -xzf ${LIB_PATH} /libxml2-2.14.3.tar.gz -C /tmp && cd /tmp/libxml2-2.14.3
118
+ tar -xzf " ${LIB_PATH} /libxml2-2.14.3.tar.gz" -C /tmp && cd /tmp/libxml2-2.14.3
119
119
./autogen.sh --prefix=" $PREFIX " --disable-shared --enable-static --without-python --without-iconv --host=" $CROSS_COMPILE "
120
- make -j${NPROC}
120
+ make -j" ${NPROC} "
121
121
make install
0 commit comments