diff --git a/.github/filters.yml b/.github/filters.yml index 4ef57a1b..83ee2474 100644 --- a/.github/filters.yml +++ b/.github/filters.yml @@ -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", diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index c87ecdfb..2ab6abe2 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -118,6 +118,13 @@ ath79-nand - GL-AR300M - GL-AR750S +ath79-mikrotik +-------------- + +* Mikrotik + + - RB951Ui-2nD (hAP) + brcm2708-bcm2708 ---------------- diff --git a/targets/ath79-mikrotik b/targets/ath79-mikrotik new file mode 100644 index 00000000..c2002987 --- /dev/null +++ b/targets/ath79-mikrotik @@ -0,0 +1,3 @@ +include 'mikrotik.inc' + +device('mikrotik-routerboard-951ui-2nd-hap', 'mikrotik_routerboard-951ui-2nd') diff --git a/targets/mikrotik.inc b/targets/mikrotik.inc new file mode 100644 index 00000000..92c0fa3f --- /dev/null +++ b/targets/mikrotik.inc @@ -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) diff --git a/targets/targets.mk b/targets/targets.mk index 92b58ab8..5abd5720 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -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))