services: add ldd library loader service
This commit is contained in:
9
services/CMakeLists.txt
Normal file
9
services/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
file(GLOB items *)
|
||||
|
||||
foreach(item ${items})
|
||||
if (NOT IS_DIRECTORY ${item})
|
||||
continue()
|
||||
endif ()
|
||||
|
||||
add_subdirectory(${item})
|
||||
endforeach (item)
|
||||
10
services/ldd/CMakeLists.txt
Normal file
10
services/ldd/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
file(GLOB sources *.c)
|
||||
add_executable(ldd ${sources})
|
||||
target_link_libraries(ldd ulibc libc-rt libmango)
|
||||
|
||||
sysroot_add_program(
|
||||
NAME ldd
|
||||
BIN_DIR /usr/bin)
|
||||
bsp_add_program(
|
||||
NAME ldd
|
||||
BIN_DIR /usr/bin)
|
||||
4
services/ldd/main.c
Normal file
4
services/ldd/main.c
Normal file
@@ -0,0 +1,4 @@
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user