Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build process #1

Closed
hawshemi opened this issue Jan 14, 2023 · 1 comment
Closed

Build process #1

hawshemi opened this issue Jan 14, 2023 · 1 comment

Comments

@hawshemi
Copy link

Can you mention how did you build these .ipk ? (build process for openwrt or some links)

@Soberia
Copy link

Soberia commented Jan 15, 2023

Get OpenWRT SDK for your target device, place the package source you want to build in ./package directory, select that package from the menu and start the compile process.

This is an example for mt7621:

# Install required packages
apt install -y build-essential wget xz-utils libncurses-dev gawk file rsync git unzip python3

# Download the SDK
wget https://downloads.openwrt.org/releases/22.03.5/targets/ramips/mt7621/openwrt-sdk-22.03.5-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64.tar.xz
tar -xf openwrt-sdk-22.03.5-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64.tar.xz
cd openwrt-sdk-22.03.5-ramips-mt7621_gcc-11.2.0_musl.Linux-x86_64.tar.xz
echo "src-git-full luci_app_xray https://github.com/yichya/luci-app-xray" >> feeds.conf.default
./scripts/feeds update -a
./scripts/feeds install -a
git clone https://github.com/yichya/luci-app-xray package/luci-app-xray

# Select the package from `Extra packages -> luci-app-xray`
make menuconfig

# Start the build, generated ipk will be located in the ./bin directory
make package/luci-app-xray/fw4/compile -j1 V=s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants