Skip to content

che-incubator/openwrt-helloworld-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contribute (sandbox) Contribute (nightly)

About OpenWrt HelloWorld package

OpenWrt is a highly extensible GNU/Linux distribution for embedded devices (typically wireless routers). Unlike many other distributions for routers, OpenWrt is built from the ground up to be a full-featured, easily modifiable operating system for embedded devices. In practice, this means you can have all the features you need with no bloat, powered by a modern Linux kernel. It provides convenient tools to integrate pre-built packages into a custom firmware image. This repo includes a sample of the HelloWorld package for OpenWrt.

Description

This is the simple C++ OpenWrt package to print the phrase "Hello, World!" to the console.

Usage

If the HelloWorld package is placed in openwrt/package, the following is used to compile it:

make package/helloworld/compile V=s

Development with Eclipse Che

  • Create and start a workspace from this repository.
  • Open the target workspace. Link HelloWorld package, configs and install all the necessary packages to build OpenWRT. We can do this by running the following tasks from the devfile.yaml file: Link helloworld package, Copy diff-config to OpenWRT, Install all package definitions.
  • Build OpenWRT by running the following task from the devfile.yaml file: Build all packages and the kernel.

Builds

This repo contains several actions, including:

  • Build of the CDE container image
  • Build of the QEMU container image

License

See LICENSE file.