1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
wget https://mirrors.ustc.edu.cn/openwrt/releases/24.10.2/targets/x86/64/openwrt-toolchain-24.10.2-x86-64_gcc-13.3.0_musl.Linux-x86_64.tar.zst tar -I zstd -xvf openwrt-toolchain-24.10.2-x86-64_gcc-13.3.0_musl.Linux-x86_64.tar.zst mv openwrt-toolchain-24.10.2-x86-64_gcc-13.3.0_musl.Linux-x86_64 openwrt-toolchain cd openwrt-toolchain
export STAGING_DIR=/home/leux/openwrt-toolchain export PATH=$PATH:/home/leux/openwrt-toolchain/toolchain-x86_64_gcc-13.3.0_musl/bin
git clone https://github.com/zzzz0317/xgp-v3-screen/ cd xgp-v3-screen/src/ git clone --depth 1 -b release/v9.3 https://github.com/lvgl/lvgl.git lvgl cmake -DCMAKE_C_COMPILER=x86_64-openwrt-linux-musl-gcc -DCMAKE_CXX_COMPILER=x86_64-openwrt-linux-musl-g++ make -j$(nproc)
leux@Debian:~/xgp-v3-screen/src/bin$ file zz_xgp_screen zz_xgp_screen: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, with debug_info, not stripped
|