From 245dff8027356c56ed5a1b7ecc48b66667483d79 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 26 May 2023 22:24:17 +0300 Subject: [PATCH] Shell: we now link BAN (we can't use it though) --- userspace/Shell/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userspace/Shell/CMakeLists.txt b/userspace/Shell/CMakeLists.txt index 0d742bf91..fde110c92 100644 --- a/userspace/Shell/CMakeLists.txt +++ b/userspace/Shell/CMakeLists.txt @@ -8,9 +8,10 @@ set(SOURCES add_executable(Shell ${SOURCES}) target_compile_options(Shell PUBLIC -O2 -g) -add_dependencies(Shell libc-install) +add_dependencies(Shell libc-install ban-install) target_link_options(Shell PUBLIC -nodefaultlibs) target_link_libraries(Shell PUBLIC ${BANAN_LIB}/libc.a) +target_link_libraries(Shell PUBLIC ${BANAN_LIB}/libban.a) add_custom_target(Shell-install COMMAND cp ${CMAKE_CURRENT_BINARY_DIR}/Shell ${BANAN_BIN}/