forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: build nss | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
name: build mx4300 nss | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Install packages | ||
run: | | ||
sudo apt-get update && \ | ||
sudo apt-get install -y \ | ||
build-essential \ | ||
clang \ | ||
flex \ | ||
bison \ | ||
g++ \ | ||
gawk \ | ||
gcc-multilib \ | ||
g++-multilib \ | ||
gettext \ | ||
git \ | ||
libncurses-dev \ | ||
libssl-dev \ | ||
python3-distutils \ | ||
rsync \ | ||
unzip \ | ||
zlib1g-dev \ | ||
file \ | ||
wget && \ | ||
sudo apt-get clean | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update feeds | ||
run: scripts/feeds update -a && scripts/feeds install -a | ||
|
||
- name: Generate config | ||
run: sh genconfig_nss.sh | ||
|
||
- name: Build firmware images | ||
run: make -j$(($(nproc)+1)) world | ||
|
||
- name: Pack packages | ||
run: tar cvfz bin.tar.gz bin/ | ||
|
||
- name: Get SHA | ||
uses: benjlevesque/[email protected] | ||
|
||
- name: Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: qualcommax-nss-${{ env.SHA }} | ||
artifacts: bin.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
cp nss-setup/config-nss.seed .config | ||
|
||
echo CONFIG_ATH11K_THERMAL=y >> .config | ||
echo CONFIG_KMOD_ALL=y >> .config | ||
|
||
make defconfig |