Skip to content

Commit

Permalink
readd moved xrx200_legacy target
Browse files Browse the repository at this point in the history
replace only the first underscore in target_config_lib
  • Loading branch information
maurerle committed Dec 25, 2024
1 parent 0582d26 commit 95488db
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@
"targets/generic",
"targets/targets.mk"
],
"lantiq-xrx200_legacy": [
"targets/lantiq-xrx200_legacy",
".github/workflows/build-gluon.yml",
"modules",
"Makefile",
"patches/**",
"scripts/**",
"targets/generic",
"targets/targets.mk"
],
"lantiq-xway": [
"targets/lantiq-xway",
".github/workflows/build-gluon.yml",
Expand Down
2 changes: 1 addition & 1 deletion scripts/target_config_lib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ local function handle_target_pkgs(pkgs)
end

local function get_default_pkgs()
local targetinfo_target = string.gsub(openwrt_config_target, '_', '/')
local targetinfo_target = string.gsub(openwrt_config_target, '_', '/', 1)
local target_matches = false
for line in io.lines('openwrt/tmp/.targetinfo') do
local target_match = string.match(line, '^Target: (.+)$')
Expand Down
30 changes: 30 additions & 0 deletions targets/lantiq-xrx200_legacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
packages {
'-ltq-vdsl-vr9-vectoring-fw-installer',
'-kmod-ltq-vdsl-vr9-mei',
'-kmod-ltq-vdsl-vr9',
'-kmod-ltq-atm-vr9',
'-kmod-ltq-ptm-vr9',
'-kmod-ltq-deu-vr9',
'-ltq-vdsl-vr9-app',
'-dsl-vrx200-firmware-xdsl-a',
'-dsl-vrx200-firmware-xdsl-b-patch',
'-ppp-mod-pppoa',
'-ltq-dsl-base',
}

-- TP-Link

-- CAVEAT: These devices don't have a dedicated WAN port.
-- All ethernet ports on the device are bridged and
-- used as WAN ports. Clients connected to these
-- ports will be connected to your private network.

device('tp-link-td-w8970', 'tplink_tdw8970', {
factory = false,
})

device('tp-link-td-w8980', 'tplink_tdw8980', {
factory = false,
aliases = {'tp-link-td-w9980'},
broken = true, -- 5GHz unsupported
})
1 change: 1 addition & 0 deletions targets/targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ $(eval $(call GluonTarget,ipq40xx,generic))
$(eval $(call GluonTarget,ipq40xx,mikrotik))
$(eval $(call GluonTarget,ipq806x,generic))
$(eval $(call GluonTarget,lantiq,xrx200))
$(eval $(call GluonTarget,lantiq,xrx200_legacy))
$(eval $(call GluonTarget,lantiq,xway))
$(eval $(call GluonTarget,mediatek,filogic))
$(eval $(call GluonTarget,mediatek,mt7622))
Expand Down

0 comments on commit 95488db

Please sign in to comment.