programs: add Bshell command interpreter
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
file(GLOB items *)
|
||||
|
||||
set(bshell_interactive 0)
|
||||
set(bshell_verbose 0)
|
||||
set(bshell_enable_floating_point 0)
|
||||
|
||||
foreach(item ${items})
|
||||
if (NOT IS_DIRECTORY ${item})
|
||||
continue()
|
||||
@@ -7,3 +11,40 @@ foreach(item ${items})
|
||||
|
||||
add_subdirectory(${item})
|
||||
endforeach (item)
|
||||
|
||||
target_link_libraries(bshell libc libc-runtime libpthread)
|
||||
target_link_libraries(bshell.core libc libpthread)
|
||||
target_link_libraries(bshell.runtime libc libpthread)
|
||||
|
||||
sysroot_add_program(
|
||||
NAME bshell
|
||||
BIN_DIR /usr/bin)
|
||||
bsp_add_program(
|
||||
NAME bshell
|
||||
BIN_DIR /usr/bin)
|
||||
|
||||
rosetta_wrap_library(
|
||||
NAME bshell.runtime
|
||||
SONAME libbshell.runtime
|
||||
PREFIX lib
|
||||
PUBLIC_INCLUDE_DIRS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/bshell/bshell.runtime/include)
|
||||
rosetta_wrap_library(
|
||||
NAME bshell.core
|
||||
PREFIX lib
|
||||
SONAME libbshell.core)
|
||||
|
||||
sysroot_add_library(
|
||||
NAME bshell.runtime
|
||||
HEADER_DIR /usr/include
|
||||
LIB_DIR /usr/lib)
|
||||
bsp_add_library(
|
||||
NAME bshell.runtime
|
||||
LIB_DIR /usr/lib)
|
||||
|
||||
sysroot_add_library(
|
||||
NAME bshell.core
|
||||
LIB_DIR /usr/lib)
|
||||
bsp_add_library(
|
||||
NAME bshell.core
|
||||
LIB_DIR /usr/lib)
|
||||
|
||||
+1
-1
Submodule programs/bshell updated: 1a311b3796...8843f2d2a9
Reference in New Issue
Block a user