-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathbuild.yml.
More file actions
27 lines (22 loc) · 873 Bytes
/
build.yml.
File metadata and controls
27 lines (22 loc) · 873 Bytes
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
name: Build Kernel Monitor Mode
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Install Build Tools
run: |
sudo apt-get update
sudo apt-get install -y build-essential bc libssl-dev libncurses5-dev git python2 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
- name: Build Kernel
run: |
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
# تفعيل وضع المراقبة في ملف الإعدادات
sed -i 's/# CONFIG_CFG80211 is not set/CONFIG_CFG80211=y/g' arch/arm64/configs/dandelion_user_defconfig
echo "CONFIG_MAC80211=y" >> arch/arm64/configs/dandelion_user_defconfig
make dandelion_user_defconfig
make -j$(nproc)