developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 1 | require ccsp_common_filogic.inc |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 2 | |
| 3 | LDFLAGS_append_dunfell = " -lsafec-3.5.1" |
| 4 | |
| 5 | do_install_append() { |
| 6 | # Config files and scripts |
| 7 | install -d ${D}/usr/ccsp/config |
| 8 | install -m 644 ${S}/config/bbhm_def_cfg_qemu.xml ${D}/usr/ccsp/config/bbhm_def_cfg.xml |
| 9 | install -m 755 ${S}/scripts/bbhm_patch.sh ${D}/usr/ccsp/psm/bbhm_patch.sh |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 10 | |
| 11 | #WanManager Feature |
| 12 | DISTRO_WAN_ENABLED="${@bb.utils.contains('DISTRO_FEATURES','rdkb_wan_manager','true','false',d)}" |
| 13 | if [ $DISTRO_WAN_ENABLED = 'true' ]; then |
| 14 | sed -i '/AccessPoint.16.vAPStatsEnable/a \ |
| 15 | <!-- rdkb-wanmanager related --> \ |
| 16 | <Record name="dmsb.wanmanager.wanenable" type="astr">1</Record> \ |
| 17 | <Record name="dmsb.wanmanager.wanifcount" type="astr">1</Record> \ |
| 18 | <Record name="dmsb.wanmanager.wanpolicy" type="astr">2</Record> \ |
| 19 | <Record name="dmsb.wanmanager.wanidletimeout" type="astr">0</Record> \ |
| 20 | <Record name="dmsb.selfheal.rebootstatus" type="astr">0</Record> \ |
| 21 | <Record name="dmsb.wanmanager.if.1.Name" type="astr">eth2</Record> \ |
| 22 | <Record name="dmsb.wanmanager.if.1.DisplayName" type="astr">WanOE</Record> \ |
| 23 | <Record name="dmsb.wanmanager.if.1.Enable" type="astr">TRUE</Record> \ |
| 24 | <Record name="dmsb.wanmanager.if.1.Type" type="astr">2</Record> \ |
| 25 | <Record name="dmsb.wanmanager.if.1.Priority" type="astr">0</Record> \ |
| 26 | <Record name="dmsb.wanmanager.if.1.SelectionTimeout" type="astr">0</Record> \ |
| 27 | <Record name="dmsb.wanmanager.if.1.DynTriggerEnable" type="astr">FALSE</Record> \ |
| 28 | <Record name="dmsb.wanmanager.if.1.DynTriggerDelay" type="astr">0</Record> \ |
| 29 | <Record name="dmsb.wanmanager.if.1.Marking.List" type="astr">DATA</Record> \ |
| 30 | <Record name="dmsb.wanmanager.if.1.Marking.DATA.Alias" type="astr">DATA</Record> \ |
| 31 | <Record name="dmsb.wanmanager.if.1.Marking.DATA.SKBPort" type="astr">1</Record> \ |
| 32 | <Record name="dmsb.wanmanager.if.1.Marking.DATA.SKBMark" type="astr"> </Record> \ |
| 33 | <Record name="dmsb.wanmanager.if.1.Marking.DATA.EthernetPriorityMark" type="astr"></Record> \ |
developer | 1495e4d | 2022-04-14 17:58:16 +0800 | [diff] [blame] | 34 | <Record name="dmsb.wanmanager.if.1.EnableDHCP" type="astr">TRUE</Record> \ |
| 35 | <Record name="dmsb.wanmanager.if.1.EnableIPoE" type="astr">TRUE</Record> \ |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 36 | <Record name="dmsb.wanmanager.if.1.PPPEnable" type="astr">FALSE</Record> \ |
| 37 | <Record name="dmsb.wanmanager.if.1.PPPLinkType" type="astr">PPPoE</Record> \ |
| 38 | <Record name="dmsb.wanmanager.if.1.PPPIPCPEnable" type="astr">TRUE</Record> \ |
| 39 | <Record name="dmsb.wanmanager.if.1.PPPIPV6CPEnable" type="astr">TRUE</Record> \ |
| 40 | <Record name="dmsb.wanmanager.if.1.PPPIPCPEnable" type="astr">TRUE</Record> \ |
| 41 | <Record name="dmsb.wanmanager.if.1.ActiveLink" type="astr">TRUE</Record> \ |
| 42 | <Record name="dmsb.wanmanager.if.1.EnableMAPT" type="astr">FALSE</Record> \ |
| 43 | <Record name="dmsb.wanmanager.if.1.EnableDSLite" type="astr">FALSE</Record> \ |
| 44 | <Record name="dmsb.wanmanager.if.1.EnableIPoEHealthCheck" type="astr">FALSE</Record> \ |
| 45 | <Record name="dmsb.wanmanager.if.1.RebootOnConfiguration" type="astr">FALSE</Record>' ${D}/usr/ccsp/config/bbhm_def_cfg.xml |
| 46 | fi |
| 47 | } |
| 48 | |
| 49 | LDFLAGS_append_dunfell = " -lpthread" |