Skip to content

Commit

Permalink
Add target kirkwood for Linksys E4200 v2
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdragon-001 committed Apr 1, 2024
1 parent f368860 commit 929e060
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
28 changes: 28 additions & 0 deletions patches/targets-kirkwood.patch
Original file line number Diff line number Diff line change
@@ -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))
5 changes: 5 additions & 0 deletions site.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ bcm27xx-bcm2711
ipq40xx-generic
ipq40xx-mikrotik
ipq806x-generic
kirkwood-generic
lantiq-xrx200
lantiq-xway
mediatek-mt7622
Expand Down

0 comments on commit 929e060

Please sign in to comment.