Skip to content

Commit

Permalink
add post: prepare fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
ntn888 committed Jan 9, 2024
1 parent 5c0e187 commit 702dbc2
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions content/blog/linux-prepare-fedora.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
+++
title = "Prepare Fedora Linux for Buildroot compilation"
date = 2024-01-10 07:27:00
draft = false

[taxonomies]
categories = ["embedded-linux"]
tags = ["embedded-linux", "linux", "buildroot", "milkv-duo"]

[extra]
lang = "en"
toc = true
comment = false
copy = true
math = false
mermaid = false
outdate_alert = false
outdate_alert_days = 120
display_tags = true
truncate_summary = false
+++


Here's a quick note on how to prepare Fedora for compiling Buildroot. The following worked for me for compiling a system for the [Milk-V Duo](@/blog/linux-milkv-duo.md).

First install Fedora's equivalent of `build-essential` and ncurses (for menuconfig).

```
sudo dnf group install "C Development Tools and Libraries" "Development Tools"
sudo dnf install ncurses-devel
```

If when running `make` compilation results in missing Perl modules, install them via:

```
sudo dnf install 'perl(My::Module)'
```

Fortunately these missing Perl modules error appear at the very beginning of the compilation and causes the least hassle!

0 comments on commit 702dbc2

Please sign in to comment.