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 TARGET = test-lx_rmap_dynamic
SRC_CC = main.cc SRC_CC = main.cc
LIBS = base ld LIBS = base
vpath main.cc $(PRG_DIR)/.. vpath main.cc $(PRG_DIR)/..

View File

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

View File

@ -1,7 +1,6 @@
base base
nic_session
os os
so so
libc
vfs
timer_session 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 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 = CC_CXX_WARN_STRICT =

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
TARGET = fetchurl TARGET = fetchurl
LIBS += curl libc ld LIBS += base curl libc
SRC_CC = component.cc 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 INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/gcc
endif 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 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)) $(addsuffix .o,$(basename $(SRC_CC))): $(addprefix ui_,$(FORMS:.ui=.h))
LIBS += libc base LIBS += libc
# QtCore # QtCore
ifeq ($(findstring core, $(QT)), core) ifeq ($(findstring core, $(QT)), core)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
base
libc libc
noux noux
posix 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_in_session
audio_out_session audio_out_session
nic_session base
input_session base-nova
framebuffer_session framebuffer_session
report_session input_session
libc
libiconv
nic_session
nitpicker_session nitpicker_session
os
report_session
rtc_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_in_session
audio_out_session audio_out_session
nic_session base
input_session
framebuffer_session framebuffer_session
report_session input_session
libc
libiconv
nic_session
nitpicker_session nitpicker_session
os
report_session
rtc_session rtc_session
stdcxx
terminal_session
timer_session
usb_session
vfs
vm_session vm_session

View File

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

View File

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