summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-12-13 17:11:20 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-12-13 17:14:48 +1100
commit72e39550f316404a764dd2fa11b00a110ae38c61 (patch)
tree3af6051537527c49152ce510947f9f8362e452fd /.vscode
parent6b9718b2ccd5d1ae50f33047a323acd72531fd13 (diff)
Add build script for AGL without XDS
This adds the function to build with or without AGL XDS build system. Functionality is updated to work with vscode. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/tasks.json142
1 files changed, 80 insertions, 62 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 999a832..09c6bb5 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -1,63 +1,81 @@
{
- // See https://go.microsoft.com/fwlink/?LinkId=733558
- // for the documentation about the tasks.json format
- "version": "2.0.0",
- "type": "shell",
- "presentation": {
- "reveal": "always"
- },
- "tasks": [
- {
- "label": "Make Driver",
- "command": "make all",
- "group": "build",
- "problemMatcher": ["$gcc"]
- },
- {
- "label": "Clean Driver",
- "command": "make clean",
- "group": "build",
- "problemMatcher": ["$gcc"]
- },
- {
- "label": "Deploy Drivers",
- "command": "sudo sh -c './scripts/unload.sh && ./scripts/load.sh'",
- "problemMatcher": []
- },
- {
- "label": "Make and Deploy Drivers",
- "command": "make all && sudo sh -c './scripts/unload.sh && ./scripts/load.sh'",
- "problemMatcher": []
- },
- {
- "label": "Unload new drivers",
- "command": "sudo sh ./scripts/unload.sh",
- "problemMatcher": []
- },
- {
- "label": "Load new drivers",
- "command": "sudo sh ./scripts/load.sh",
- "problemMatcher": []
- },
- {
- "label": "Make Driver AGL",
- "type": "shell",
- "command": "./scripts/make-agl.sh 6864c558",
- "group": "build",
- "problemMatcher": ["$gcc"]
- },
- {
- "label": "Clean Driver AGL",
- "type": "shell",
- "command": "./scripts/make-agl.sh 6864c558 clean",
- "group": "build",
- "problemMatcher": ["$gcc"]
- },
- {
- "label": "Deploy Driver AGL",
- "type": "shell",
- "command": "rsync -av snd-avirt-core.ko dummy/snd-avirt-ap-dummy.ko loopback/snd-avirt-ap-loopback.ko root@192.168.1.193:/lib/modules/4.14.0-yocto-standard/extra",
- "problemMatcher": ["$gcc"]
- }
- ]
-}
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "type": "shell",
+ "presentation": {
+ "reveal": "always"
+ },
+ "tasks": [
+ {
+ "label": "Make Drivers",
+ "command": "make all",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Clean Drivers",
+ "command": "make clean",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Unload Drivers",
+ "command": "sudo sh ./scripts/unload.sh",
+ "problemMatcher": []
+ },
+ {
+ "label": "Load Drivers",
+ "command": "sudo sh ./scripts/load.sh",
+ "problemMatcher": []
+ },
+ {
+ "label": "Make Driver AGL (XDS)",
+ "type": "shell",
+ "command": "./scripts/make-agl-xds.sh 6864c558",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Clean Driver AGL (XDS)",
+ "type": "shell",
+ "command": "./scripts/make-agl-xds.sh 6864c558 clean",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Make Driver AGL",
+ "type": "shell",
+ "command": "./scripts/make-agl.sh",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Clean Driver AGL",
+ "type": "shell",
+ "command": "./scripts/make-agl.sh clean",
+ "group": "build",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ },
+ {
+ "label": "Deploy Driver AGL",
+ "type": "shell",
+ "command": "scp snd-avirt-core.ko dummy/snd-avirt-ap-dummy.ko loopback/snd-avirt-ap-loopback.ko root@192.168.1.193:/lib/modules/4.14.35-yocto-standard/extra",
+ "problemMatcher": [
+ "$gcc"
+ ]
+ }
+ ]
+} \ No newline at end of file