• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:in +full:- +full:qemu

1 Toybox: all-in-one Linux command line.
3 --- Getting started
10 the parent directory), and you can run a program that isn't in the $PATH by
13 wget http://landley.net/toybox/bin/toybox-x86_64
14 chmod +x toybox-x86_64
15 ./toybox-x86_64 echo hello world
17 --- Building toybox
19 Type "make help" for build instructions.
30 LDFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox
34 that control the toybox build; if you export any of these variables into your
35 environment, your value is used instead of the default in that file.
40 the file "scripts/mcm-buildall.sh" in the toybox source) are available at:
44 For the "CROSS_COMPILE=armv5l-" example above, download
45 armv5l-linux-musleabihf-cross.tar.xz, extract it, and add its "bin"
46 subdirectory to your $PATH. (And yes, the trailing - is significant,
52 http://landley.net/writing/docs/cross-compiling.html
55 For a more thorough description of the toybox build process, see:
59 --- Using toybox
61 The toybox build produces a multicall binary, a "swiss-army-knife" program
68 suffix (hence "toybox-armv5l").
73 --- Configuring toybox
76 a ".config" file that selects which features to include in the resulting
77 binary. You can save and re-use your .config file, but may want to
78 run "make oldconfig" to re-run the dependency resolver when migrating to
83 commands, debug code, and optional dependencies your build environment may
86 --- Creating a Toybox-based Linux system
88 Toybox has a built-in simple system builder (scripts/mkroot.sh) with a
95 point it at Linux source code, it can build simple three-package systems
96 that boot to a shell prompt under qemu:
98 make root CROSS_COMPILE=sh4-linux-musl- LINUX=~/linux
100 ./qemu-sh4.sh
103 to the build, see scripts/root/dropbear as an example.
105 The FAQ explains this in a lot more detail:
110 --- Presentations
112 1) "Why Toybox?" talk at the Embedded Linux Conference in 2013
114 outline: http://landley.net/talks/celf-2013.txt
122 outline: http://landley.net/talks/ohio-2013.txt
123 …audio: https://archive.org/download/OhioLinuxfest2013/24-Rob_Landley-The_Rise_and_Fall_of_Copyleft…
128 https://speakerdeck.com/landley/developing-for-non-x86-targets-using-qemu
130 How and why to make android self-hosting:
139 outline: http://landley.net/talks/celf-2015.txt
143 outline: http://landley.net/talks/elc-2019.txt
146 --- Contributing
152 mailing list: http://lists.landley.net/listinfo.cgi/toybox-landley.net
159 git format-patch -1 $HASH
161 Then send a file attachment. The list holds messages from non-subscribers
162 for moderation, but I usually get to them in a day or two.
171 Android's policy for toybox patches is that non-build patches should go
174 generally resync on fridays). The exception is patches to their build scripts
175 (Android.mk and the checked-in generated/* files) which go directly to AOSP.