Skip to content

Commit 40f891d

Browse files
committed
buildroot minor
1 parent c8e280b commit 40f891d

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

docs/build/buildroot.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@ aside: false
44

55
<script setup>
66
import { data as openwrt } from '/openwrt.data.js'
7-
8-
let arch = 'mips_24kc'
9-
let target ='ath79-generic'
10-
let _target =target.replace('-','/')
11-
12-
const build = {
13-
arch: arch,
14-
target: target,
15-
file_host: "https://downloads.openwrt.org",
16-
download_file: "imagebuilder-.*x86_64.tar.[xz|zst]",
17-
profile: "librerouter_librerouter-v1"
18-
}
19-
20-
217
</script>
228

239
# Buildroot
@@ -209,9 +195,8 @@ Network profiles are the specific configuration from the communities, and are st
209195

210196
#### export target-subtarget to env
211197
``` sh-vue
212-
export TARGET={{ build.target }}
213-
export ARCH=$(curl -s https://downloads.openwrt.org/snapshots/.targets.json | \
214-
sed 's/\//-/' | jq -r '."${TARGET}"')
198+
export TARGET=ath79
199+
export SUBTARGET=generic
215200
```
216201

217202
#### configure

0 commit comments

Comments
 (0)