Skip to content

ownik/entware-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entware SDK Latest version Build Status PR's Welcome status: active

Entware SDK provides prebuilt SDK archives (toolchain + build system) for the Entware project.

Entware uses the OpenWrt build system, but unlike OpenWrt, it does not publish prebuilt SDK archives.

This repository fills that gap by automatically building and publishing ready-to-use SDK bundles.

💡 If you want to build Entware packages via GitHub Actions, you can use the gh-action-entware-sdk

🚀 Why use this?

Without a prebuilt SDK, building even a single Go package in GitHub Actions can take ~1 hour 40 minutes.

With the SDK, build time drops to ~20 minutes.

This significantly speeds up CI pipelines and local development.

🐳 Build Environment (Recommended)

It is strongly recommended to use the official OpenWrt build worker container:

ghcr.io/openwrt/buildbot/buildworker-v3.11.3:latest

This is the latest image that still includes Python 2.

Entware still depends on Python 2 in its build system, so using newer buildworker images may result in build failures.

Alternatively, you may build on a native system — but in that case your environment must match the one used in the image above (Python 2 and related dependencies availability).

Example

docker run --rm -it \
  -v $(pwd):/work \
  -w /work \
  ghcr.io/openwrt/buildbot/buildworker-v3.11.3:latest \
  bash

All SDK build steps should be executed inside this environment.

📥 Download SDK

Download the latest SDK for your platform:

See full list on Release page.

🛠 How to use

1️⃣ Extract SDK

tar xf entware-sdk-*.tar.zst --strip=1 --no-same-owner -C .

2️⃣ Update and install feeds

./scripts/feeds update -a
./scripts/feeds install -a

3️⃣ Add your package

Place your package inside ./package or create a symlink:

ln -s <path-to-your-package> ./package/<PACKAGE_NAME>

4️⃣ Generate default config

make defconfig

5️⃣ Build your package

make package/<PACKAGE_NAME>/compile

🔗 Related Projects

About

Unofficial SDK builds for Entware.

Resources

Stars

Watchers

Forks

Contributors

Languages