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 ac44c016..69b91501 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -54,6 +54,8 @@ elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040', table.insert(try_files, 1, '/sys/class/net/eth0/address') elseif platform.match('ipq806x', nil, {'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') elseif platform.match('ramips', 'mt7620', {'miwifi-mini'}) then table.insert(try_files, 1, '/sys/class/net/eth0/address') elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then diff --git a/targets/mpc85xx-p1020 b/targets/mpc85xx-p1020 new file mode 100644 index 00000000..100c209b --- /dev/null +++ b/targets/mpc85xx-p1020 @@ -0,0 +1,5 @@ +-- Aerohive + +device('aerohive-hiveap-330', 'hiveap-330', { + factory = false, +}) diff --git a/targets/targets.mk b/targets/targets.mk index b712e103..1f540829 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -8,6 +8,7 @@ $(eval $(call GluonTarget,ar71xx,nand)) $(eval $(call GluonTarget,brcm2708,bcm2708)) $(eval $(call GluonTarget,brcm2708,bcm2709)) $(eval $(call GluonTarget,mpc85xx,generic)) +$(eval $(call GluonTarget,mpc85xx,p1020)) $(eval $(call GluonTarget,ramips,mt7621)) $(eval $(call GluonTarget,sunxi,cortexa7)) $(eval $(call GluonTarget,x86,generic))