blob: 6bb58b8e39cbdbe1178d11d272a5518b3655b43f [file] [log] [blame]
developercc441a02022-05-09 19:04:26 +08001require ccsp_common_filogic.inc
developer15a43312022-04-12 11:23:23 +08002
3LDFLAGS_append_dunfell = " -lsafec-3.5.1"
4
5do_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
developer15a43312022-04-12 11:23:23 +080010
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> \
developer1495e4d2022-04-14 17:58:16 +080034 <Record name="dmsb.wanmanager.if.1.EnableDHCP" type="astr">TRUE</Record> \
35 <Record name="dmsb.wanmanager.if.1.EnableIPoE" type="astr">TRUE</Record> \
developer15a43312022-04-12 11:23:23 +080036 <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
49LDFLAGS_append_dunfell = " -lpthread"