[c++] remove WITH_CPP_SUPPORT flag

Just always build with it enabled.
This commit is contained in:
Travis Geiselbrecht
2019-07-13 17:41:25 -07:00
parent d607a93b86
commit ad246760ff
5 changed files with 3 additions and 14 deletions

View File

@@ -8,10 +8,8 @@ MODULE_SRCS += \
$(LOCAL_DIR)/heap_wrapper.c \
$(LOCAL_DIR)/page_alloc.c
ifeq ($(WITH_CPP_SUPPORT),true)
MODULE_SRCS += \
$(LOCAL_DIR)/new.cpp
endif
# pick a heap implementation
ifndef LK_HEAP_IMPLEMENTATION

View File

@@ -7,6 +7,7 @@ MODULE_DEPS := \
lib/io
MODULE_SRCS += \
$(LOCAL_DIR)/atexit.c \
$(LOCAL_DIR)/atoi.c \
$(LOCAL_DIR)/bsearch.c \
$(LOCAL_DIR)/ctype.c \
@@ -19,11 +20,8 @@ MODULE_SRCS += \
$(LOCAL_DIR)/qsort.c \
$(LOCAL_DIR)/eabi.c
ifeq ($(WITH_CPP_SUPPORT),true)
MODULE_SRCS += \
$(LOCAL_DIR)/atexit.c \
$(LOCAL_DIR)/pure_virtual.cpp
endif
include $(LOCAL_DIR)/string/rules.mk

View File

@@ -26,6 +26,4 @@ MODULE_DEPS += \
app/shell \
WITH_CPP_SUPPORT=true
include make/module.mk
include make/module.mk

View File

@@ -66,8 +66,6 @@ MODULE_DEPS += \
app/tests \
lib/fdt
WITH_CPP_SUPPORT=true
endif
include make/module.mk

View File

@@ -8,7 +8,4 @@ MODULES += \
lib/aes/test \
lib/cksum \
lib/debugcommands \
lib/version \
WITH_CPP_SUPPORT=true
lib/version