目录
目录README.md

busybox-prebuilts

Prebuilt binaries of busybox for embedded platforms.

How to build

  1. Install musl toolchain for the corresponding platform, see its README
  2. Install libncurses
  3. Add the toolchain above to PATH
  4. Download and unpack busybox source
  5. export ARCH and CROSS_COMPILE to your platorm (for example, riscv and riscv64-linux-musl)
  6. Run make defconfig
  7. Run make menuconfig, enable static binary, then choose the applets you need
  8. Run make -j${NCPUS}

You will get busybox and busybox_unstripped binaries. Put them in corresponding directories.

Verify:

$ file busybox_unstripped
busybox_unstripped: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), statically linked, with debug_info, not stripped
关于
3.2 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号