From 9ae07082ff97ed712a4ee99c38c3a8d874454c17 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 16 Nov 2016 14:20:47 +1100 Subject: [PATCH] examples: Update component.mk for new conventions --- examples/01_hello_world/main/component.mk | 2 +- examples/02_blink/main/component.mk | 2 +- examples/03_http_request/main/component.mk | 2 +- examples/04_https_request/main/component.mk | 2 +- examples/05_ble_adv/main/component.mk | 2 +- examples/06_sntp/main/component.mk | 2 +- examples/07_nvs_rw_value/main/component.mk | 5 ++++- examples/08_nvs_rw_blob/main/component.mk | 5 ++++- 8 files changed, 14 insertions(+), 8 deletions(-) diff --git a/examples/01_hello_world/main/component.mk b/examples/01_hello_world/main/component.mk index 4d3b30caf..0b9d7585e 100644 --- a/examples/01_hello_world/main/component.mk +++ b/examples/01_hello_world/main/component.mk @@ -1,5 +1,5 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/02_blink/main/component.mk b/examples/02_blink/main/component.mk index b4fa72791..a98f634ea 100644 --- a/examples/02_blink/main/component.mk +++ b/examples/02_blink/main/component.mk @@ -1,4 +1,4 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/03_http_request/main/component.mk b/examples/03_http_request/main/component.mk index b4fa72791..a98f634ea 100644 --- a/examples/03_http_request/main/component.mk +++ b/examples/03_http_request/main/component.mk @@ -1,4 +1,4 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/04_https_request/main/component.mk b/examples/04_https_request/main/component.mk index f4502c25d..818e2a182 100644 --- a/examples/04_https_request/main/component.mk +++ b/examples/04_https_request/main/component.mk @@ -1,5 +1,5 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/05_ble_adv/main/component.mk b/examples/05_ble_adv/main/component.mk index b4fa72791..a98f634ea 100644 --- a/examples/05_ble_adv/main/component.mk +++ b/examples/05_ble_adv/main/component.mk @@ -1,4 +1,4 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/06_sntp/main/component.mk b/examples/06_sntp/main/component.mk index b4fa72791..a98f634ea 100644 --- a/examples/06_sntp/main/component.mk +++ b/examples/06_sntp/main/component.mk @@ -1,4 +1,4 @@ # -# Main Makefile. This is basically the same as a component makefile. +# "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) diff --git a/examples/07_nvs_rw_value/main/component.mk b/examples/07_nvs_rw_value/main/component.mk index d33485c26..0b9d7585e 100644 --- a/examples/07_nvs_rw_value/main/component.mk +++ b/examples/07_nvs_rw_value/main/component.mk @@ -1,2 +1,5 @@ +# +# "main" pseudo-component makefile. +# +# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -include $(IDF_PATH)/make/component_common.mk diff --git a/examples/08_nvs_rw_blob/main/component.mk b/examples/08_nvs_rw_blob/main/component.mk index d33485c26..0b9d7585e 100644 --- a/examples/08_nvs_rw_blob/main/component.mk +++ b/examples/08_nvs_rw_blob/main/component.mk @@ -1,2 +1,5 @@ +# +# "main" pseudo-component makefile. +# +# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -include $(IDF_PATH)/make/component_common.mk