-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |