]> granicus.if.org Git - esp-idf/commitdiff
build: Fix comments and avoid build warning
authorAnton Maklakov <anton@espressif.com>
Fri, 14 Apr 2017 04:00:59 +0000 (12:00 +0800)
committerAnton Maklakov <anton@espressif.com>
Thu, 27 Apr 2017 02:51:45 +0000 (10:51 +0800)
components/esp32/test/component.mk
components/nghttp/Makefile [deleted file]
examples/bluetooth/blufi/main/component.mk
examples/bluetooth/gatt_client/main/component.mk
examples/bluetooth/gatt_server/main/component.mk
examples/bluetooth/gatt_server_service_table/main/component.mk
examples/peripherals/i2s/main/component.mk

index 5e7d11ddf8a60d9441e8b7489b4b0c1b6266104f..745f8cb79614136c811adad51a76fceff1f2d3bc 100644 (file)
@@ -8,8 +8,6 @@ COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-a
 
 COMPONENT_SRCDIRS := . test_vectors
 
-include $(IDF_PATH)/make/component_common.mk
-
 test_tjpgd.o: test_tjpgd_logo.h
 
 test_tjpgd_logo.h: $(COMPONENT_PATH)/logo.jpg
diff --git a/components/nghttp/Makefile b/components/nghttp/Makefile
deleted file mode 100644 (file)
index ec25144..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Component Makefile
-#
-# This Makefile should, at the very least, just include $(SDK_PATH)/Makefile. By default, 
-# this will take the sources in this directory, compile them and link them into 
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the SDK documents if you need to do this.
-#
-COMPONENT_ADD_INCLUDEDIRS := port/include include
-
-COMPONENT_SRCDIRS := library port
-
-#EXTRA_CFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
-
-EXTRA_CFLAGS := -Wno-error=address -Waddress -DHAVE_CONFIG_H
-
-include $(IDF_PATH)/make/component.mk
\ No newline at end of file
index 79edf031d3d5645be778162ea4511cb22fe53838..a98f634eae065626088ba907b2cda16000478d5b 100644 (file)
@@ -1,8 +1,4 @@
 #
-# Main Makefile. This is basically the same as a component makefile.
-#
-# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 
-# this will take the sources in the src/ directory, compile them and link them into 
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the ESP-IDF documents if you need to do this.
+# "main" pseudo-component makefile.
 #
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
index afcb917c60d1482450756afff3bcdfd161744961..a98f634eae065626088ba907b2cda16000478d5b 100644 (file)
@@ -1,10 +1,4 @@
 #
-# Main Makefile. This is basically the same as a component makefile.
+# "main" pseudo-component makefile.
 #
-# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 
-# this will take the sources in the src/ directory, compile them and link them into 
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the ESP-IDF documents if you need to do this.
-#
-
-#include $(IDF_PATH)/make/component_common.mk
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
index 79edf031d3d5645be778162ea4511cb22fe53838..a98f634eae065626088ba907b2cda16000478d5b 100644 (file)
@@ -1,8 +1,4 @@
 #
-# Main Makefile. This is basically the same as a component makefile.
-#
-# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 
-# this will take the sources in the src/ directory, compile them and link them into 
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the ESP-IDF documents if you need to do this.
+# "main" pseudo-component makefile.
 #
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
index 79edf031d3d5645be778162ea4511cb22fe53838..a98f634eae065626088ba907b2cda16000478d5b 100644 (file)
@@ -1,8 +1,4 @@
 #
-# Main Makefile. This is basically the same as a component makefile.
-#
-# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default, 
-# this will take the sources in the src/ directory, compile them and link them into 
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the ESP-IDF documents if you need to do this.
+# "main" pseudo-component makefile.
 #
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
index dbc5a7a9e7fb7a3fd27ec5c3f3f7d64bee93d230..9706df8e67487dc1def54f2485c5c1253bd78fd8 100644 (file)
@@ -1,10 +1,6 @@
 #
-# Main Makefile. This is basically the same as a component makefile.
-#
-# This Makefile should, at the very least, just include $(SDK_PATH)/make/component.mk. By default,
-# this will take the sources in the src/ directory, compile them and link them into
-# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
-# please read the SDK documents if you need to do this.
+# "main" pseudo-component makefile.
 #
+# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
 
 COMPONENT_ADD_INCLUDEDIRS := .