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:11:20 +1100
commite0feba6c3f70d0a0197f20fa4933c4d58251e48e (patch)
tree3af6051537527c49152ce510947f9f8362e452fd /.vscode
parent129829e3dc8f58ca92e12cc2846e3ad348dfdd59 (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