Header files re-arrangement
This commit is contained in:
parent
028451fa84
commit
602d3e2d98
9 changed files with 14 additions and 4 deletions
|
@ -177,7 +177,7 @@ IMGTOOL_ARGS=-$(IMGTOOL_FLASH_SIZE) -$(FLASH_MODE) -$(FLASH_SPEED)
|
||||||
# Placing $(PROGRAM_DIR) and $(PROGRAM_DIR)include first allows
|
# Placing $(PROGRAM_DIR) and $(PROGRAM_DIR)include first allows
|
||||||
# programs to have their own copies of header config files for components
|
# programs to have their own copies of header config files for components
|
||||||
# , which is useful for overriding things.
|
# , which is useful for overriding things.
|
||||||
INC_DIRS = $(PROGRAM_DIR) $(PROGRAM_DIR)include $(ROOT)include $(ROOT)extras
|
INC_DIRS = $(PROGRAM_DIR) $(PROGRAM_DIR)include $(ROOT)include
|
||||||
|
|
||||||
ifeq ($(OWN_LIBC),1)
|
ifeq ($(OWN_LIBC),1)
|
||||||
INC_DIRS += $(ROOT)libc/xtensa-lx106-elf/include
|
INC_DIRS += $(ROOT)libc/xtensa-lx106-elf/include
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
# Simple makefile for simple example
|
# Simple makefile for simple example
|
||||||
PROGRAM=cpp_01_tasks
|
PROGRAM=cpp_01_tasks
|
||||||
|
OTA=0
|
||||||
|
EXTRA_COMPONENTS=extras/cpp_support
|
||||||
include ../../common.mk
|
include ../../common.mk
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cplusplus/cplusplus.hpp"
|
#include "cplusplus.hpp"
|
||||||
#include "thread/task.hpp"
|
#include "task.hpp"
|
||||||
#include "thread/queue.hpp"
|
#include "queue.hpp"
|
||||||
|
|
||||||
#include "espressif/esp_common.h"
|
#include "espressif/esp_common.h"
|
||||||
|
|
||||||
|
|
8
extras/cpp_support/component.mk
Normal file
8
extras/cpp_support/component.mk
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Component makefile for extras/cpp_support
|
||||||
|
INC_DIRS += $(ROOT)extras/cpp_support/include
|
||||||
|
|
||||||
|
# args for passing into compile rule generation
|
||||||
|
# extras/mqtt-client_INC_DIR = $(ROOT)extras/mqtt-client
|
||||||
|
# extras/mqtt-client_SRC_DIR = $(ROOT)extras/mqtt-client
|
||||||
|
|
||||||
|
# $(eval $(call component_compile_rules,extras/mqtt-client))
|
Loading…
Reference in a new issue