Live data from Hacker News

Is it time for a new Embedded Linux build system?

yoebuild.org

91–92 of 92 posts

Re: Is it time for a new Embedded Linux build system?

#91
post #83

Earlier quoted context omitted.

There are several ways to compile for the target: 1) Cross compile. Yoe build still does this where it makes sense. (Go apps, likely kernel builds in the future) 2) QEMU user mode - 5-20x slow, but fine for some things. 3) Run yoe-build on any ARM machine (AWS, rPI5, Jetson) 4) Farm unit builds out to runners on cloud ARM machines. (future) The yoe-build architecture allows for this. Choose the container, host archit…

Doing this on target seems terrible. What an awful development experience.

Agreed, building on the typical target is a terrible idea. None of my suggestions are to build on target, but rather specific units on some capable hardware of the same architecture. The main build will still run on your own workstation of any architecture. Only specific units get farmed out to another machine, but worst case can be run in QEMU user mode emulation if there is no native machine runner available.

This remote build runner is not implemented yet, just ideas.

Re: Is it time for a new Embedded Linux build system?

#92
post #86

Earlier quoted context omitted.

Thanks, I was not aware of this - will look into this more.

It is not exactly well documented, dpkg-buildpackage (debhelper) has cross-compilation wrappers for autoconf, cmake, qmake, meson, ninja, ant, perl/python, maven, gradle, bmake, golang, probably others. Here'a s quick start for a C++ application compilation with libncurses6 and libtinfo6 dependencies as an example. `apt build-dep` will install armhf library dependencies and native other build dependencies. # Adding a…

Thanks for the detailed explanation!
Post reply on HN