Skip to content

Commit 111054b

Browse files
committed
Avoid echo -e, copy directly
1 parent 5835a3c commit 111054b

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

build-hnp/talloc/Makefile

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,8 @@ all: download/talloc-2.4.3.tar.gz
55
mkdir -p temp build
66
cd temp && tar xvf ../download/talloc-2.4.3.tar.gz
77
cd temp/talloc-2.4.3 && mkdir build
8+
cp aarch64-unknown-linux-musl.txt temp/talloc-2.4.3
89
cd temp/talloc-2.4.3 && \
9-
echo -e "Checking uname sysname type: aarch64\n\
10-
Checking uname machine type: aarch64-unknown-linux-musl\n\
11-
Checking uname release type: release\n\
12-
Checking uname version type: 5.2\n\
13-
rpath library support: OK\n\
14-
Checking getconf LFS_CFLAGS: "-D_LARGEFILE64_SOURCE=1"\n\
15-
Checking for -D_FILE_OFFSET_BITS=64: OK\n\
16-
Checking for -D_LARGE_FILES: OK\n\
17-
Checking for HAVE_SECURE_MKSTEMP: OK\n\
18-
-Wl,--version-script support: FAIL\n\
19-
Checking for large file support without additional flags: OK\n\
20-
Checking correct behavior of strtoll: OK\n\
21-
Checking for working strptime: OK\n\
22-
Checking for C99 vsnprintf: OK\n\
23-
Checking for HAVE_SHARED_MMAP: OK\n\
24-
Checking for HAVE_MREMAP: OK\n\
25-
Checking for HAVE_INCOHERENT_MMAP: OK" >> aarch64-unknown-linux-musl.txt && \
2610
CFLAGS="--sysroot=$(OHOS_SDK_HOME)/native/sysroot -O2 -g -pipe -fstack-protector-strong -fno-omit-frame-pointer -I$(shell pwd)/../sysroot/include -D_FORTIFY_SOURCE=2" \
2711
LDFLAGS="--sysroot=$(OHOS_SDK_HOME)/native/sysroot -L$(OHOS_SDK_HOME)/native/sysroot/usr/lib" \
2812
./configure --prefix=/data/app/base.org/base_1.0 \
@@ -36,4 +20,3 @@ Checking for HAVE_INCOHERENT_MMAP: OK" >> aarch64-unknown-linux-musl.txt && \
3620
download/talloc-2.4.3.tar.gz:
3721
mkdir -p download
3822
cd download && wget https://www.samba.org/ftp/talloc/talloc-2.4.3.tar.gz
39-
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Checking uname sysname type: aarch64
2+
Checking uname machine type: aarch64-unknown-linux-musl
3+
Checking uname release type: release
4+
Checking uname version type: 5.2
5+
rpath library support: OK
6+
Checking getconf LFS_CFLAGS: -D_LARGEFILE64_SOURCE=1
7+
Checking for -D_FILE_OFFSET_BITS=64: OK
8+
Checking for -D_LARGE_FILES: OK
9+
Checking for HAVE_SECURE_MKSTEMP: OK
10+
-Wl,--version-script support: FAIL
11+
Checking for large file support without additional flags: OK
12+
Checking correct behavior of strtoll: OK
13+
Checking for working strptime: OK
14+
Checking for C99 vsnprintf: OK
15+
Checking for HAVE_SHARED_MMAP: OK
16+
Checking for HAVE_MREMAP: OK
17+
Checking for HAVE_INCOHERENT_MMAP: OK
18+
Checking uname sysname type: UNKNOWN

0 commit comments

Comments
 (0)