aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-04-01 12:25:01 -0700
committerChristian Cunningham <cc@localhost>2022-04-01 12:25:01 -0700
commit09179481b0954e17571ac3b5c8bd85411878d51c (patch)
treea4a0aff3bccf5f37639304df9d7bbe506c771374
parentb6ca3a4df6ca34cd40f09d4b97e54679eb95840a (diff)
No CPP in Kernel
-rw-r--r--Common.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/Common.mk b/Common.mk
index c365ba5..44dd68c 100644
--- a/Common.mk
+++ b/Common.mk
@@ -2,9 +2,6 @@
C_SOURCEK = $(wildcard kernel/*.c kernel/**/*.c)
C_OBJECTk = ${C_SOURCEK:.c=.co}
C_OBJECTK = ${subst kernel/,obj/kernel/,${C_OBJECTk}}
-CXX_SOURCEK = $(wildcard kernel/*.cpp kernel/**/*.cpp)
-CXX_OBJECTk = ${CXX_SOURCEK:.cpp=.cppo}
-CXX_OBJECTK = ${subst kernel/,obj/kernel/,${CXX_OBJECTk}}
A_SOURCEK = $(wildcard kernel/*.S kernel/**/*.S)
A_OBJECTk = ${A_SOURCEK:.S=.ao}
A_OBJECTK = ${subst kernel/,obj/kernel/,${A_OBJECTk}}
@@ -20,7 +17,7 @@ A_OBJECTu = ${A_SOURCEU:.S=.ao}
A_OBJECTU = ${subst usr/,obj/usr/,${A_OBJECTu}}
# Combined Objects
C_OBJECTD = $(C_OBJECTK) $(C_OBJECTU)
-CXX_OBJECTD = $(CXX_OBJECTK) $(CXX_OBJECTU)
+CXX_OBJECTD = $(CXX_OBJECTU)
A_OBJECTD = $(A_OBJECTK) $(A_OBJECTU)
ATTACH_USB ?= 0