#! /bin/sh
set -x
rm zlib-1.2.11/ -rf
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
export CC=/home/yqr/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc
./configure --prefix=/home/yqr/opt/3559A_openssh/openssh/zlib
make -j18
make install -j18
cd ..
rm openssl-1.0.2l/ -rf
tar -xf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l/
./config no-asm shared --install_prefix=/home/yqr/opt/3559A_openssh/openssh --cross-compile-prefix=/home/yqr/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-
chmod o+w Makefile
cp ../Makefile_ssl ./Makefile
make -j18
make install -j18
cd ..
rm openssh-7.5p1/ -rf
tar -xf openssh-7.5p1.tar.gz
cd openssh-7.5p1/
./configure --host=aarch64-himix100-linux -with-libs -with-zlib=/home/yqr/opt/3559A_openssh/openssh/zlib --with-ssl-dir=/home/yqr/opt/3559A_openssh/openssh/ssl --disable-etc-default-login CC=/home/yqr/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc AR=/home/yqr/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-ar --disable-strip
make -j18
cd ..
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Hi3559A交叉编译openssh_20190415.zip (9个子文件)
交叉编译openssh
openssl_build.sh 539B
readme 1KB
zlib-1.2.11.tar.gz 593KB
openssh-7.5p1.tar.gz 1.44MB
auto.sh 1KB
Makefile_ssl 24KB
openssh_build.sh 475B
zlib_build.sh 276B
openssl-1.0.2l.tar.gz 5.12MB
共 9 条
- 1
资源评论
- 6小贱2019-11-01还可以。。。。。。。。。。。。。。。
- tianjiaozhizi2020-07-07只是交叉编译,没有讲如何部署
- 半路和尚2020-06-04用一下看看,行不行
- baidu_248302592020-11-25看不懂没啥用
qryx
- 粉丝: 12
- 资源: 25
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功