Skip to content

mpolitzer/sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdk

SDK is a set of scripts to aid in cross compilation and disk image construction. To use the SDK, either fetch a prebuild image from the registry or build it yourself.

Build

Build and bundle all tools into an image, including the emulator, toolchain and utilities, this may take a while.

Requirements:

  • Docker 20.x
  • GNU Make >= 3.81

Example:

make config host=riscv64-lp64d-linux-musl # config
make build                                # build
make run                                  # use

Use make help to list commands, make list to list configs.

Run

make run

Tricks

  1. Override .config:
make run IMAGE=riscv64-lp64d-linux-musl:latest
  1. run with a different directory:
cd /path/to/src
make -srC /path/to/sdk/ run

About

Gentoo based rootfs builder

Resources

Stars

Watchers

Forks

Releases

No releases published