ath79-mikrotik: add support for Mikrotik RB951Ui-2nD (#2377)
Re-add mikrotik target Note that previous images were generic ones and as such no migration path is provided other than manually flashing the image via config-mode.
This commit is contained in:
parent
1ef3edbe58
commit
a0df96eb97
10
.github/filters.yml
vendored
10
.github/filters.yml
vendored
@ -17,6 +17,16 @@
|
||||
"targets/generic",
|
||||
"targets/targets.mk"
|
||||
],
|
||||
"ath79-mikrotik": [
|
||||
"targets/ath79-mikrotik",
|
||||
"modules",
|
||||
"Makefile",
|
||||
"patches/**",
|
||||
"scripts/**",
|
||||
"targets/generic",
|
||||
"targets/targets.mk",
|
||||
"targets/mikrotik.inc"
|
||||
],
|
||||
"bcm27xx-bcm2708": [
|
||||
"targets/bcm27xx-bcm2708",
|
||||
"modules",
|
||||
|
@ -118,6 +118,13 @@ ath79-nand
|
||||
- GL-AR300M
|
||||
- GL-AR750S
|
||||
|
||||
ath79-mikrotik
|
||||
--------------
|
||||
|
||||
* Mikrotik
|
||||
|
||||
- RB951Ui-2nD (hAP)
|
||||
|
||||
brcm2708-bcm2708
|
||||
----------------
|
||||
|
||||
|
3
targets/ath79-mikrotik
Normal file
3
targets/ath79-mikrotik
Normal file
@ -0,0 +1,3 @@
|
||||
include 'mikrotik.inc'
|
||||
|
||||
device('mikrotik-routerboard-951ui-2nd-hap', 'mikrotik_routerboard-951ui-2nd')
|
7
targets/mikrotik.inc
Normal file
7
targets/mikrotik.inc
Normal file
@ -0,0 +1,7 @@
|
||||
-- Mikrotik images are netbooted via TFTP, then persisted with sysupgrade
|
||||
defaults {
|
||||
factory = '-initramfs-kernel'
|
||||
}
|
||||
|
||||
config('TARGET_ROOTFS_INITRAMFS', true)
|
||||
config('TARGET_INITRAMFS_COMPRESSION_LZMA', true)
|
@ -1,5 +1,6 @@
|
||||
$(eval $(call GluonTarget,ath79,generic))
|
||||
$(eval $(call GluonTarget,ath79,nand))
|
||||
$(eval $(call GluonTarget,ath79,mikrotik))
|
||||
$(eval $(call GluonTarget,bcm27xx,bcm2708))
|
||||
$(eval $(call GluonTarget,bcm27xx,bcm2709))
|
||||
$(eval $(call GluonTarget,ipq40xx,generic))
|
||||
|
Loading…
Reference in New Issue
Block a user