forked from kishorereddygit/auto_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilding_Apps.sh
30 lines (29 loc) · 2.52 KB
/
building_Apps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
cd /home/ubuntu
cd connectedhomeip/
source ./scripts/bootstrap.sh
gn gen out/debug --args='chip_mdns="platform" chip_inet_config_enable_ipv4=false'
ninja -C out/debug
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux/ examples/all-clusters-app/linux/out/all-clusters-app chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/bridge-app/linux/ examples/bridge-app/linux/out/bridge-app chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/tv-app/linux/ examples/tv-app/linux/out/tv-app chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/tv-casting-app/linux/ examples/tv-casting-app/linux/out/tv-casting-app chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/lighting-app/linux/ examples/lighting-app/linux/out/lighting-app chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/thermostat/linux/ examples/thermostat/linux/out/thermostat chip_inet_config_enable_ipv4=false
scripts/examples/gn_build_example.sh examples/ota-provider-app/linux examples/ota-provider-app/linux/out/host 'chip_config_network_layer_ble=false'
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux examples/ota-requestor-app/linux/out/host 'chip_config_network_layer_ble=false'
scripts/examples/gn_build_example.sh examples/lock-app/linux/ out/lock-app chip_inet_config_enable_ipv4=false
cd /home/ubuntu
cd apps
ln -s ../connectedhomeip/out/debug/chip-tool chip-tool
ln -s ../connectedhomeip/out/debug/chip-shell chip-shell
ln -s ../connectedhomeip/out/debug/chip-cert chip-cert
ln -s ../connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app/chip-all-clusters-app all-cluster-app
ln -s ../connectedhomeip/examples/lighting-app/linux/out/lighting-app/chip-lighting-app lighting-app
ln -s ../connectedhomeip/examples/tv-casting-app/linux/out/tv-casting-app/chip-tv-casting-app tv-casting-app
ln -s ../connectedhomeip/examples/tv-app/linux/out/tv-app/chip-tv-app tv-app
ln -s ../connectedhomeip/examples/bridge-app/linux/out/bridge-app/chip-bridge-app bridge-app
ln -s ../connectedhomeip/examples/thermostat/linux/out/thermostat/thermostat-app thermostat-app
ln -s ../connectedhomeip/examples/ota-requestor-app/linux/out/host/chip-ota-requestor-app ota-requestor-app
ln -s ../connectedhomeip/examples/ota-provider-app/linux/out/host/chip-ota-provider-app ota-provider-app
ln -s ../connectedhomeip/out/lock-app/chip-lock-app lock-app