diff --git a/patches/targets-kirkwood.patch b/patches/targets-kirkwood.patch new file mode 100644 index 00000000..2f45f2ff --- /dev/null +++ b/patches/targets-kirkwood.patch @@ -0,0 +1,28 @@ +--- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac ++++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +@@ -120,6 +120,9 @@ local primary_addrs = { + 'openmesh,a42', + 'openmesh,a62', + }}, ++ {'kirkwood', 'generic', { ++ 'linksys,e4200-v2', ++ }}, + {'mpc85xx', 'p1020', { + 'aerohive,hiveap-330', + 'ocedo,panda', +--- /dev/null ++++ b/targets/kirkwood-generic +@@ -0,0 +1,4 @@ ++-- Linksys ++ ++device('linksys-e4200-v2', 'linksys_e4200-v2') +--- a/targets/targets.mk ++++ b/targets/targets.mk +@@ -7,6 +7,7 @@ $(eval $(call GluonTarget,ipq40xx,generic)) + $(eval $(call GluonTarget,ipq40xx,mikrotik)) + $(eval $(call GluonTarget,ipq806x,generic)) + $(eval $(call GluonTarget,lantiq,xrx200)) ++$(eval $(call GluonTarget,kirkwood,generic)) + $(eval $(call GluonTarget,lantiq,xway)) + $(eval $(call GluonTarget,mediatek,mt7622)) + $(eval $(call GluonTarget,mpc85xx,p1010)) diff --git a/site.mk b/site.mk index 42d35d96..414fdeed 100644 --- a/site.mk +++ b/site.mk @@ -235,6 +235,11 @@ ifeq ($(GLUON_TARGET),ipq806x-generic) endif +ifeq ($(GLUON_TARGET),kirkwood-generic) + GLUON_SITE_PACKAGES += $(INCLUDE_TLS) $(INCLUDE_USB) $(INCLUDE_USB_NET) $(INCLUDE_USB_SERIAL) $(INCLUDE_USB_STORAGE) + +endif + ifeq ($(GLUON_TARGET),lantiq-xrx200) GLUON_SITE_PACKAGES += $(INCLUDE_TLS) $(INCLUDE_USB) $(INCLUDE_USB_NET) $(INCLUDE_USB_SERIAL) $(INCLUDE_USB_STORAGE) diff --git a/targets b/targets index 65e85c3a..0d451f42 100644 --- a/targets +++ b/targets @@ -8,6 +8,7 @@ bcm27xx-bcm2711 ipq40xx-generic ipq40xx-mikrotik ipq806x-generic +kirkwood-generic lantiq-xrx200 lantiq-xway mediatek-mt7622