diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac index 54687b74..600a147f 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -53,7 +53,7 @@ elseif platform.match('ar71xx', 'nand', {'hiveap-121'}) then elseif platform.match('ipq40xx', 'generic', {'avm,fritzbox-4040', 'openmesh,a42', 'openmesh,a62'}) then table.insert(try_files, 1, '/sys/class/net/eth0/address') -elseif platform.match('ipq806x', nil, {'netgear,r7800'}) then +elseif platform.match('ipq806x', 'generic', {'netgear,r7800'}) then table.insert(try_files, 1, '/sys/class/net/eth1/address') elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then table.insert(try_files, 1, '/sys/class/net/eth0/address') diff --git a/targets/ipq806x b/targets/ipq806x-generic similarity index 100% rename from targets/ipq806x rename to targets/ipq806x-generic diff --git a/targets/targets.mk b/targets/targets.mk index 958853bf..63aaa09f 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -25,6 +25,6 @@ endif ifneq ($(BROKEN),) $(eval $(call GluonTarget,ar71xx,mikrotik)) # BROKEN: no sysupgrade support $(eval $(call GluonTarget,brcm2708,bcm2710)) # BROKEN: Untested -$(eval $(call GluonTarget,ipq806x)) # BROKEN: See target file for details +$(eval $(call GluonTarget,ipq806x,generic)) # BROKEN: See target file for details $(eval $(call GluonTarget,mvebu,cortexa9)) # BROKEN: No AP+IBSS or 11s support endif