[c++] remove WITH_CPP_SUPPORT flag
Just always build with it enabled.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -26,6 +26,4 @@ MODULE_DEPS += \
|
||||
app/shell \
|
||||
|
||||
|
||||
WITH_CPP_SUPPORT=true
|
||||
|
||||
include make/module.mk
|
||||
include make/module.mk
|
||||
|
||||
@@ -66,8 +66,6 @@ MODULE_DEPS += \
|
||||
app/tests \
|
||||
lib/fdt
|
||||
|
||||
WITH_CPP_SUPPORT=true
|
||||
|
||||
endif
|
||||
|
||||
include make/module.mk
|
||||
|
||||
@@ -8,7 +8,4 @@ MODULES += \
|
||||
lib/aes/test \
|
||||
lib/cksum \
|
||||
lib/debugcommands \
|
||||
lib/version \
|
||||
|
||||
WITH_CPP_SUPPORT=true
|
||||
|
||||
lib/version
|
||||
|
||||
Reference in New Issue
Block a user