-
Notifications
You must be signed in to change notification settings - Fork 1
/
profile
36 lines (30 loc) · 1.42 KB
/
profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
# Stable OpenWrt Release version (Needs change whenever new openwrt release is available)
OPENWRT_RELEASE="23.05"
OPENWRT_VERSION="${OPENWRT_RELEASE}.3"
TARGET="ramips"
SUBTARGET="mt76x8"
# Default base URL from where openwrt SDKs are available for the respective openwrt version and targets
#BASE_URL="http://downloads.openwrt.org/releases/$OPENWRT_VERSION/targets/$TARGET/$SUBTARGET"
BASE_URL="http://downloads.onioniot.com.s3.amazonaws.com/releases/$OPENWRT_VERSION/targets/$TARGET/$SUBTARGET"
# SDK file name available and downloaded from BASE_URL ((Needs change whenever new openwrt release is available with different gcc version))
#SDK_FILE="openwrt-sdk-$OPENWRT_VERSION-$TARGET-${SUBTARGET}_gcc-12.3.0_musl.Linux-$(uname -m).tar.xz"
SDK_FILE="openwrt-sdk-$OPENWRT_VERSION-$TARGET-${SUBTARGET}_gcc-12.3.0_musl.Linux-x86_64.tar.xz"
SDK_URL="$BASE_URL/$SDK_FILE"
# Keys directory to sign compiled packages, Ensure you have key-build files in specificed directory
KEYS_DIR="$PWD/keys"
## specify package feeds to be included in sdk (each feed in new line)
PACKAGE_FEEDS="
src-git onion https://github.com/OnionIoT/OpenWRT-Packages.git;openwrt-${OPENWRT_RELEASE}
"
# Packages to be compiled by default (each package in new line. This would directory name containing Makefile of respective package)
# Each package in a new line
SDK_PACKAGES="
onion-repo-keys
omega2-base
omega2-ctrl
onion-dt-overlay
python3-spidev
python3-gpio
omega2-lte
"