aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Saulnier2019-12-16 20:34:49 -0600
committerNick Saulnier2019-12-16 20:34:49 -0600
commitff252a5e174f1b6aa42931744939f20d25d8e070 (patch)
tree63ffcf74160b3cc1ec0baacef1d95d7e724e214b
parente3aee2df1ad6d5678ac49e280fc7cf777e720804 (diff)
downloadpru-software-support-package-ff252a5e174f1b6aa42931744939f20d25d8e070.tar.gz
pru-software-support-package-ff252a5e174f1b6aa42931744939f20d25d8e070.tar.xz
pru-software-support-package-ff252a5e174f1b6aa42931744939f20d25d8e070.zip
labs: fix makefiles for Labsv5.6.0
Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
-rw-r--r--labs/Getting_Started_Labs/Makefile32
-rw-r--r--labs/Hands_on_Labs/lab_1/solution/toggle_led/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_2/solution/button_led_0/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_2/solution/button_led_1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor0/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_4/solution/button_led_0/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_4/solution/button_led_1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am335x/PRU_Halt/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am335x/PRU_RPMsg_Echo_Interrupt1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am437x/PRU_Halt/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am437x/PRU_RPMsg_Echo_Interrupt1_1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am572x/PRU_Halt/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am572x/PRU_RPMsg_Echo_Interrupt1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am65x/PRU_Halt/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/k2g/PRU_Halt/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_5/solution/k2g/PRU_RPMsg_Echo_Interrupt1/Makefile4
-rw-r--r--labs/Hands_on_Labs/lab_6/solution/PRU_RPMsg_LED0/Makefile4
-rw-r--r--labs/Makefile12
20 files changed, 80 insertions, 36 deletions
diff --git a/labs/Getting_Started_Labs/Makefile b/labs/Getting_Started_Labs/Makefile
new file mode 100644
index 0000000..3029458
--- /dev/null
+++ b/labs/Getting_Started_Labs/Makefile
@@ -0,0 +1,32 @@
1SUBDIRS=\
2assembly_code/solution/am335x \
3assembly_code/solution/am437x \
4assembly_code/solution/am572x \
5assembly_code/solution/am65x \
6assembly_code/solution/k2g \
7c_and_assembly/solution/am335x \
8c_and_assembly/solution/am437x \
9c_and_assembly/solution/am572x \
10c_and_assembly/solution/am65x \
11c_and_assembly/solution/k2g \
12c_and_inline_assembly/solution/am335x \
13c_and_inline_assembly/solution/am437x \
14c_and_inline_assembly/solution/am572x \
15c_and_inline_assembly/solution/am65x \
16c_and_inline_assembly/solution/k2g \
17c_code/solution/am335x \
18c_code/solution/am437x \
19c_code/solution/am572x \
20c_code/solution/am65x \
21c_code/solution/k2g
22
23all: $(SUBDIRS)
24
25$(SUBDIRS):
26 @$(MAKE) -C $@
27
28clean:
29 @for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean ); done
30
31.PHONY: all clean $(SUBDIRS)
32
diff --git a/labs/Hands_on_Labs/lab_1/solution/toggle_led/Makefile b/labs/Hands_on_Labs/lab_1/solution/toggle_led/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_1/solution/toggle_led/Makefile
+++ b/labs/Hands_on_Labs/lab_1/solution/toggle_led/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_2/solution/button_led_0/Makefile b/labs/Hands_on_Labs/lab_2/solution/button_led_0/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_2/solution/button_led_0/Makefile
+++ b/labs/Hands_on_Labs/lab_2/solution/button_led_0/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_2/solution/button_led_1/Makefile b/labs/Hands_on_Labs/lab_2/solution/button_led_1/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_2/solution/button_led_1/Makefile
+++ b/labs/Hands_on_Labs/lab_2/solution/button_led_1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor0/Makefile b/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor0/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor0/Makefile
+++ b/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor0/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor1/Makefile b/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor1/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor1/Makefile
+++ b/labs/Hands_on_Labs/lab_3/solution/PRU_HDQ_TempSensor1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_4/solution/button_led_0/Makefile b/labs/Hands_on_Labs/lab_4/solution/button_led_0/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_4/solution/button_led_0/Makefile
+++ b/labs/Hands_on_Labs/lab_4/solution/button_led_0/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_4/solution/button_led_1/Makefile b/labs/Hands_on_Labs/lab_4/solution/button_led_1/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_4/solution/button_led_1/Makefile
+++ b/labs/Hands_on_Labs/lab_4/solution/button_led_1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_Halt/Makefile b/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_Halt/Makefile
index c94fbe4..77b3fd7 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_Halt/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_Halt/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_RPMsg_Echo_Interrupt1/Makefile b/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_RPMsg_Echo_Interrupt1/Makefile
index c94fbe4..77b3fd7 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_RPMsg_Echo_Interrupt1/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am335x/PRU_RPMsg_Echo_Interrupt1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_Halt/Makefile b/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_Halt/Makefile
index 6961216..0baef3e 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_Halt/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_Halt/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM437x_PRU_SS1.cmd 31LINKER_COMMAND_FILE=./AM437x_PRU_SS1.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am437x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am437x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_RPMsg_Echo_Interrupt1_1/Makefile b/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_RPMsg_Echo_Interrupt1_1/Makefile
index 6961216..0baef3e 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_RPMsg_Echo_Interrupt1_1/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am437x/PRU_RPMsg_Echo_Interrupt1_1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM437x_PRU_SS1.cmd 31LINKER_COMMAND_FILE=./AM437x_PRU_SS1.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am437x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am437x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_Halt/Makefile b/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_Halt/Makefile
index 80b24e9..6eab655 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_Halt/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_Halt/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM57xx_PRU.cmd 31LINKER_COMMAND_FILE=./AM57xx_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am572x_2_0 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am572x_2_0
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_RPMsg_Echo_Interrupt1/Makefile b/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_RPMsg_Echo_Interrupt1/Makefile
index 80b24e9..6eab655 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_RPMsg_Echo_Interrupt1/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am572x/PRU_RPMsg_Echo_Interrupt1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM57xx_PRU.cmd 31LINKER_COMMAND_FILE=./AM57xx_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am572x_2_0 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am572x_2_0
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_Halt/Makefile b/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_Halt/Makefile
index 6e6a638..fd6033d 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_Halt/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_Halt/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM65x_PRU0.cmd 31LINKER_COMMAND_FILE=./AM65x_PRU0.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am65x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am65x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile b/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile
index 77584e4..6e35462 100644
--- a/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/am65x/PRU_RPMsg_Echo_Interrupt1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM65x_PRU1.cmd 31LINKER_COMMAND_FILE=./AM65x_PRU1.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am65x 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/am65x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_Halt/Makefile b/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_Halt/Makefile
index af68819..944f64b 100644
--- a/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_Halt/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_Halt/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./K2G_PRU.cmd 31LINKER_COMMAND_FILE=./K2G_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/k2g 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/k2g
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_RPMsg_Echo_Interrupt1/Makefile b/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_RPMsg_Echo_Interrupt1/Makefile
index af68819..944f64b 100644
--- a/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_RPMsg_Echo_Interrupt1/Makefile
+++ b/labs/Hands_on_Labs/lab_5/solution/k2g/PRU_RPMsg_Echo_Interrupt1/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./K2G_PRU.cmd 31LINKER_COMMAND_FILE=./K2G_PRU.cmd
32LIBS=--library=../../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/k2g 33INCLUDE=--include_path=../../../../../../include --include_path=../../../../../../include/k2g
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Hands_on_Labs/lab_6/solution/PRU_RPMsg_LED0/Makefile b/labs/Hands_on_Labs/lab_6/solution/PRU_RPMsg_LED0/Makefile
index f4dda8a..c94fbe4 100644
--- a/labs/Hands_on_Labs/lab_6/solution/PRU_RPMsg_LED0/Makefile
+++ b/labs/Hands_on_Labs/lab_6/solution/PRU_RPMsg_LED0/Makefile
@@ -29,8 +29,8 @@ MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) 29CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
30PROJ_NAME=$(CURRENT_DIR) 30PROJ_NAME=$(CURRENT_DIR)
31LINKER_COMMAND_FILE=./AM335x_PRU.cmd 31LINKER_COMMAND_FILE=./AM335x_PRU.cmd
32LIBS=--library=../../../../lib/rpmsg_lib.lib 32LIBS=--library=../../../../../lib/rpmsg_lib.lib
33INCLUDE=--include_path=../../../../include --include_path=../../../../include/am335x 33INCLUDE=--include_path=../../../../../include --include_path=../../../../../include/am335x
34STACK_SIZE=0x100 34STACK_SIZE=0x100
35HEAP_SIZE=0x100 35HEAP_SIZE=0x100
36GEN_DIR=gen 36GEN_DIR=gen
diff --git a/labs/Makefile b/labs/Makefile
new file mode 100644
index 0000000..dd2aea3
--- /dev/null
+++ b/labs/Makefile
@@ -0,0 +1,12 @@
1SUBDIRS=Getting_Started_Labs Hands_on_Labs
2
3all: $(SUBDIRS)
4
5$(SUBDIRS):
6 @$(MAKE) -C $@
7
8clean:
9 @for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean ); done
10
11.PHONY: all clean $(SUBDIRS)
12