Remove false API dependencies from libc/posix components

Fixes #3720
This commit is contained in:
Christian Helmuth 2020-03-31 13:17:07 +02:00 committed by Norman Feske
parent 42fddf8390
commit c11d9b7b5c
75 changed files with 54 additions and 120 deletions

View File

@ -1,5 +1,5 @@
TARGET = test-lx_rmap_dynamic
SRC_CC = main.cc
LIBS = base ld
LIBS = base
vpath main.cc $(PRG_DIR)/..

View File

@ -1,3 +1,2 @@
base
os
timer_session

View File

@ -1,7 +1,6 @@
base
nic_session
os
so
libc
vfs
timer_session
nic_session
vfs

View File

@ -4,6 +4,6 @@ include $(call select_from_repositories,src/app/qt5/tmpl/target_final.inc)
main_window.o: main_window.moc
LIBS += qoost qt5_gui qt5_widgets qt5_core libc
LIBS += qoost qt5_gui qt5_widgets qt5_core libc base
CC_CXX_WARN_STRICT =

View File

@ -1 +1,3 @@
include $(PRG_DIR)/../target.inc
LIBS += base

View File

@ -1 +1,3 @@
include $(PRG_DIR)/../target.inc
LIBS += base

View File

@ -1,3 +1,5 @@
include $(PRG_DIR)/../target.inc
LIBS += base
panel.o main.o: icon.h

View File

@ -3,4 +3,3 @@ libcrypto
zlib
libssh
libssl
so

View File

@ -1,2 +1 @@
base
libc

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,3 +1,2 @@
libc
so
gmp

View File

@ -1,5 +1,2 @@
base
libc
os
stdcxx
timer_session

View File

@ -1,4 +1,3 @@
libc
libpng
so
zlib

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,4 +1,3 @@
libc
so
zlib
liblzma
zlib

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,5 +1,4 @@
libc
so
zlib
libcrypto
libssl

View File

@ -1,3 +1,2 @@
libc
libcrypto
so

View File

@ -1,4 +1,3 @@
gmp
mpfr
libc
so

View File

@ -1,3 +1,2 @@
gmp
libc
so

View File

@ -3,5 +3,4 @@ jbig2dec
jpeg
libc
openjpeg
so
zlib

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,2 +1 @@
base
libc

View File

@ -5,5 +5,3 @@ libc
mupdf
nitpicker_session
os
so
vfs

View File

@ -1,5 +1,3 @@
base
so
libc
vfs
os
so

View File

@ -1,4 +1,3 @@
base
libc
mesa
qt5_component

View File

@ -1,5 +1,3 @@
base
libc
os
so
vfs

View File

@ -3,5 +3,4 @@ libc
os
so
stdcxx
timer_session
zlib

View File

@ -1,4 +1,3 @@
base
expat
posix
libc

View File

@ -1,3 +1,2 @@
base
posix
libc

View File

@ -1,3 +1,2 @@
base
posix
libc

View File

@ -1,3 +1,2 @@
base
posix
libc

View File

@ -1,3 +1,2 @@
base
posix
libc

View File

@ -1,3 +1,2 @@
base
posix
libc

View File

@ -1,3 +1,2 @@
base
libc
posix

View File

@ -1,6 +1,2 @@
base
os
so
libc
posix
timer_session

View File

@ -1,3 +1,2 @@
base
vfs
libc

View File

@ -1,3 +1,2 @@
base
vfs
libc

View File

@ -1,5 +1,2 @@
base
posix
libc
os
timer_session

View File

@ -1,5 +1,3 @@
base
os
posix
libc
timer_session

View File

@ -1,4 +1,3 @@
base
stdcxx
posix
libc

View File

@ -1,7 +1,6 @@
base
os
blit
libc
platform_session
timer_session
framebuffer_session

View File

@ -1,6 +1,5 @@
base
jitterentropy
os
so
libc
vfs
jitterentropy

View File

@ -1,2 +1 @@
libc
so

View File

@ -1,3 +1,3 @@
TARGET = fetchurl
LIBS += curl libc ld
LIBS += base curl libc
SRC_CC = component.cc

View File

@ -28,7 +28,7 @@ ifeq ($(filter-out $(SPECS),x86_64),)
INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/gcc
endif
LIBS += base libc posix gmp stdcxx gcov-libcommon gcov-libcpp gcov-libiberty
LIBS += libc posix gmp stdcxx gcov-libcommon gcov-libcpp gcov-libiberty
vpath %.cc $(GCOV_DIR)/gcc

View File

@ -20,7 +20,7 @@ vpath %.qrc $(abspath $(addprefix $(PRG_DIR)/,$(sort $(dir $(RESOURCES)))))
$(addsuffix .o,$(basename $(SRC_CC))): $(addprefix ui_,$(FORMS:.ui=.h))
LIBS += libc base
LIBS += libc
# QtCore
ifeq ($(findstring core, $(QT)), core)

View File

@ -1,5 +1,5 @@
TARGET = test-expat
SRC_CC = main.cc
LIBS = base expat posix
LIBS = expat posix
CC_CXX_WARN_STRICT =

View File

@ -17,9 +17,6 @@
* Mixing Genode headers and libC to see it they collide...
*/
/* Genode includes */
#include <base/env.h>
/* libC includes */
extern "C" {
#include <stdio.h>

View File

@ -1,5 +1,5 @@
TARGET = test-libc
SRC_CC = main.cc
LIBS = base posix
LIBS = posix
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_component
SRC_CC = main.cc
LIBS = libc
LIBS = base libc
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_connect
SRC_CC = main.cc
LIBS = base libc posix
LIBS = posix
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_counter-sink
SRC_CC = main.cc
LIBS = base posix
LIBS = posix
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_counter-source
SRC_CC = main.cc
LIBS = base posix
LIBS = posix
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-libc_pipe
LIBS = base posix
LIBS = posix
SRC_CC = main.cc
CC_CXX_WARN_STRICT =

View File

@ -1,5 +1,5 @@
TARGET = test-curl
LIBS = base curl
LIBS = curl
SRC_CC = main.cc
vpath main.cc $(PRG_DIR)/..

View File

@ -1,5 +1,5 @@
TARGET = test-libiconv
LIBS = base libiconv
LIBS = libiconv
SRC_CC = main.cc
vpath main.cc $(PRG_DIR)/..

View File

@ -1,5 +1,5 @@
TARGET = test-libssh
LIBS = base libcrypto libssh
LIBS = libcrypto libssh
SRC_CC = main.cc
vpath main.cc $(PRG_DIR)/..

View File

@ -18,7 +18,6 @@
#include <base/log.h>
#include <base/attached_rom_dataspace.h>
#include <libc/component.h>
#include <timer_session/connection.h>
/* Libc includes */
#include <stdio.h>

View File

@ -25,7 +25,6 @@
/* Genode includes */
#include <base/log.h>
#include <base/sleep.h>
#include <base/thread.h>
struct Thread_args {

View File

@ -1,5 +1,5 @@
TARGET = test-stdcxx
SRC_CC = main.cc
LIBS = base posix stdcxx
LIBS = posix stdcxx
CC_CXX_WARN_STRICT =

View File

@ -19,4 +19,3 @@ qt5_ui_tools
qt5_webkit
qt5_widgets
stdcxx
vfs

View File

@ -1,4 +1,3 @@
base
libc
noux
posix

View File

@ -1,4 +1,3 @@
base
gmp
libc
mpc
@ -6,4 +5,3 @@ mpfr
noux
posix
stdcxx
so

View File

@ -1,8 +1,5 @@
base
libc
libcrypto
libssl
os
vfs
libyaml
libgetdns

View File

@ -1,6 +1,3 @@
base
os
vfs
libc
timer_session
report_session

View File

@ -1,4 +1,3 @@
base
libc
noux
posix

View File

@ -1,19 +1,18 @@
base-nova
base
os
libc
so
vfs
libiconv
stdcxx
timer_session
usb_session
terminal_session
audio_in_session
audio_out_session
nic_session
input_session
base
base-nova
framebuffer_session
report_session
input_session
libc
libiconv
nic_session
nitpicker_session
os
report_session
rtc_session
stdcxx
terminal_session
timer_session
usb_session
vfs

View File

@ -1,19 +1,18 @@
base
os
libc
so
vfs
libiconv
stdcxx
timer_session
usb_session
terminal_session
audio_in_session
audio_out_session
nic_session
input_session
base
framebuffer_session
report_session
input_session
libc
libiconv
nic_session
nitpicker_session
os
report_session
rtc_session
stdcxx
terminal_session
timer_session
usb_session
vfs
vm_session

View File

@ -57,7 +57,7 @@ libgmp.a libmpfr.a libmpc.a libc.a:
Makefile: dummy_libs
LIBS += libc libm posix stdcxx base
LIBS += libc libm posix stdcxx
include $(call select_from_repositories,mk/noux.mk)

View File

@ -1,6 +1,6 @@
TARGET = test-gdb_monitor
SRC_CC = main.cc
LIBS = base posix
LIBS = posix
CC_OLEVEL = -O0