frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Is it time for a new Embedded Linux build system?

https://yoebuild.org/blog/time-for-a-new-build-system/
22•cbrake•4d ago

Comments

cbrake•4d ago
I’ve been experimenting with what a next-generation embedded Linux build system might look like: native builds on the target architecture, modern language package managers as first-class citizens, and AI as a primary interface to the system.

Instead of cross-compiling with a large meta-layer stack, the tool builds kernel, rootfs, and applications together using one engine, with a CLI, TUI, and AI assistant talking to the same core. All you need is the tool, Docker, and Git — no global SDKs or hidden state.

It’s pre-1.0 and rough around the edges; I’m sharing it early to get feedback from people who live in Yocto/OpenEmbedded, Buildroot, Nix, etc. I’d love to hear where this breaks on your boards, what workflows feel wrong, and whether the “native builds + AI-aware build graph” direction seems promising.

actionfromafar•1h ago
Native builds on target can be very slow?
bradfa•1h ago
I wish you luck! The pain points you identified are definitely real and solving them would be valuable.

The workflow for user space can definitely improve some of this pain but I feel like a large portion of any embedded Linux development effort still ends up in the weeds for boot related items (secure boot, proper updates, nuanced kernel patches, bootloaders, device trees, and supporting machine variants, etc). Solving those to make them easy is a hard problem for sure.

nrdvana•1h ago
I share some of the same observations that seem to have motivated this project, but my solution was to just use Alpine on the same architecture as the target (possibly via qemu) and then export a subset of it to a filesystem image. I implemented it as a perl module collection with no dependencies other than core perl modules, and then run the export from within the image itself. Among other things, it lets me use strace to find the runtime library dependencies of the things that need to be in the image.

https://metacpan.org/pod/Sys::Export

johnea•1h ago
I've used buildroot extensively, and an occasional yockto.

My impression in recent years is that these image cross build environments are just not as frequently needed as they were back in the day of their invention.

My most recent embedded linux environments were just embedded archlinux.

No need to cross build an image, just install and run the minimized linux environment right on the target.

Of course, a big part of the need for these cross-tools is that it seems most modern embedded linux developers are running windoze on their development workstations 8-/

xyzzy_plugh•36m ago
Are you proposing compiling on the target? For a vast number of embedded systems that is not only impossible (insufficient disk and memory) but also incredibly slow.

At the end of the day you need some cross compilation just for board bring up.

If you're playing with some platform for which this has already been done, then sure, but that's not really the "normal" way of doing embedded.

okanat•50m ago
The problems building with Linux and GNU environments exist because they were terribly designed with assumptions like

- You're building on the same native system as GNU and Linux packages, you install them globally in the same places that servers and desktops use

- Your C, C++ compiler and entire toolchain and other binary utilities with the kernel is a one single unit that you can only change one part at a time

- You use the same up to date headers with glibc, gcc and Linux kernel

- You're building software in the same universe of all the other packages, especially gcc libraries (libgcc_s, libstdc++), glibc (especially bad since ld-linux.so is part of it)

- The build system only uses standard paths

The reason Yocto is so complicated is that developing in a Linux environment actually sucks when you're not writing web-oriented or server / VM software. Yocto fixes it. It introduces a good set of abstractions that work around terrible design decisions that were made in overall Linux ecosystem. There are a lot because the OS design is fundamentally broken, especially with C-based toolchains which is 99.999% of the ecosystem. Current C toolchains including MSVC strongly ties OS with the C's internal types and bad decisions of 70s.

As always all articles whose title asks a question are answered with NO, 99% time. By taking away the cross-compiling abilities and the workarounds doesn't fix the brokenness of Linux and overall FOSS ecosystem.

If you're looking for how a better embedded environment looks like, look at Rust toolchains. For Linux take a look at musl-libc based ones (you 100% need a systemd distro to get away from nss complexities that musl introduces). Or even better take a look at relibc. There are barely any assumptions about the target filesystem and tooling in Rust toolchains, unlike C/C++/Make toolchains. There is redox OS but it is still in slow development and they stuck with Make, which I think was a bad decision. Android uses its own build tooling but cannot run away from C/C++ tooling unless Google revives Fuschia.

wasting_time•43m ago
I'm surprised to see no mention of Guix. It solves all of these issues, and already has a good story both for cross and native builds on a variety of architectures.

Adding new targets is deceptively easy, just copy an existing template and substitute your values.

https://codeberg.org/guix/guix/src/branch/master/gnu/system/...

https://codeberg.org/guix/guix/src/branch/master/gnu/bootloa...

yjftsjthsd-h•28m ago
Does guix have any advantage here over nix?
mghackerlady•16m ago
Lisp
wasting_time•14m ago
I didn't know Nix had support for embedded systems. Where are the images defined?
lukeh•27m ago
I haven't used it, but there's also Avocado OS [1]. Myself, I use Yocto for our embedded build. It's not perfect but for our application, which involves building a bunch of software that uses both Swift and Flutter for an embedded audio product running on a RPi CM4, it works just fine. Shout out to Mender for A/B updates.

[1] https://www.peridio.com/avocado-os

dima55•14m ago
Modern SBCs are just normal computers and not "embedded" in the traditional sense. You can generally just use Debian, and spend time on the actual project, instead of wrestling with the system

Steam Machine launches today

https://store.steampowered.com/news/group/45479024/view/685257114654870245
1131•theschwa•7h ago•1009 comments

Runing GLM-5.2 on local hardware

https://unsloth.ai/docs/models/glm-5.2
131•TechTechTech•3h ago•53 comments

Optocam Zero: a Pi Zero based digital camera made using off the shelf components

https://github.com/dorukkumkumoglu/optocamzero
86•iamnothere•5h ago•21 comments

Cyberdecks, going analog, and convivial technology

https://blog.hydroponictrash.solar/cyberdecks-going-analog-and-convivial-technology/
14•akkartik•2d ago•5 comments

My Mathematical Regression

https://blog.dahl.dev/posts/my-mathematical-regression/
187•aleda145•3d ago•63 comments

British Columbia, Time Zones, and Postgres

https://www.crunchydata.com/blog/british-columbia-and-time-zone-changes
95•sprawl_•5h ago•62 comments

Japanese symbols that speak without words

https://arun.is/blog/japan-symbols/
85•msephton•5h ago•29 comments

Moebius: 0.2B image inpainting model with 10B-level performance

https://hustvl.github.io/Moebius/
218•DSemba•10h ago•64 comments

Is it time for a new Embedded Linux build system?

https://yoebuild.org/blog/time-for-a-new-build-system/
22•cbrake•4d ago•13 comments

Show HN: Oak – Git alternative designed for agents

https://oak.space/oak/oak
140•zdgeier•8h ago•131 comments

Canada plans 'nuclear renaissance' with up to 10 reactors built by 2040

https://www.cbc.ca/news/politics/federal-nuclear-strategy-9.7244509
248•geox•5h ago•119 comments

Canyon HUD helmet for road riding

https://media-centre.canyon.com/en-INT/266866-new-canyon-heads-up-display-helmet-could-be-a-safet...
53•zh3•2d ago•61 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•3h ago

Flock-Powered Police Chiefs Stalking Women Shows Why Warrants Are Needed

https://ipvm.com/reports/police-chiefs-track
297•jhonovich•5h ago•111 comments

Job application asked for my SAT scores

https://mrmarket.lol/job-application-asked-for-my-sat-scores/
58•seltzerboys•3h ago•140 comments

DisplayMate

https://www.displaymate.com/
88•skibz•7h ago•26 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
29•luu•1d ago•1 comments

Finding the Best Dog Treat with Statistics

https://www.wespiser.com/posts/2026-06-19-best-dog-treat.html
76•wespiser_2018•6h ago•19 comments

Nintendo Wii U games running from a 1980's Bernoulli disk [video]

https://www.youtube.com/watch?v=8GZDOpV2OXk
86•zdw•1d ago•36 comments

Pledging another $400k to the Zig software foundation

https://mitchellh.com/writing/zig-donation-2026
714•tosh•10h ago•242 comments

Linux and Secure Boot certificate expiration (2025)

https://lwn.net/Articles/1029767/
99•weaksauce•6h ago•50 comments

Die analysis of the 8087 math coprocessor's fast bit shifter (2020)

https://www.righto.com/2020/05/die-analysis-of-8087-math-coprocessors.html
79•Jimmc414•10h ago•16 comments

Chevron signs 20-year power agreement with Microsoft for West Texas data center

https://www.chevron.com/newsroom/2026/q2/chevron-signs-20-year-power-agreement-with-microsoft-for...
115•cdrnsf•10h ago•106 comments

Show HN: Got sick of ads, so I made my own logic puzzle site

https://puzzlelair.com/
132•HaxleRose•12h ago•95 comments

ytr: YouTube Radio for Emacs

https://xenodium.com/ytr-youtube-radio-for-emacs
43•xenodium•3h ago•1 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
1013•GeneralMaximus•18h ago•368 comments

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
480•gregsadetsky•2d ago•120 comments

The text in Claude Code’s “Extended Thinking” output

https://patrickmccanna.net/the-text-in-claude-codes-extended-thinking-output-is-not-authentic/
270•0o_MrPatrick_o0•10h ago•186 comments

Memory crisis is getting so bad that even retro RAM prices are going to the Moon

https://www.theregister.com/personal-tech/2026/06/22/the-memory-crisis-is-getting-so-bad-that-eve...
102•speckx•5h ago•31 comments

Prompt Injection as Role Confusion

https://role-confusion.github.io
139•x312•8h ago•78 comments