mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-06 05:54:15 +00:00
42d9640443
This commit updates lxip from version 4.4.3 to 6.1.20. It uses the current lx_kit approach and is a shared library again. The stack has been tested for x86_32/x86_64/arm_v6/arm_v7/arm_8. The C-interface of the IP stack can be found under lxip/include/genode_c_api/socket.h. issue #5104
34 lines
827 B
Makefile
34 lines
827 B
Makefile
LXIP_DIR := $(REP_DIR)/src/lib/lxip
|
|
LIBS := jitterentropy virt_lx_emul virt_linux_generated
|
|
SHARED_LIB := yes
|
|
|
|
TARGET_LIB_DIR := $(LXIP_DIR)
|
|
INC_DIR += $(LXIP_DIR)/shadow $(LXIP_DIR)/include $(LXIP_DIR)
|
|
|
|
SRC_CC += lx_emul/random.cc
|
|
|
|
SRC_CC += init.cc \
|
|
socket.cc \
|
|
|
|
SRC_C += dummies.c \
|
|
generated_dummies.c \
|
|
lx_emul.c \
|
|
lx_socket.c \
|
|
lx_user.c \
|
|
net_driver.c \
|
|
|
|
SRC_CC += genode_c_api/nic_client.cc
|
|
|
|
#
|
|
# Don't create jump slots for everything compiled in here since there are
|
|
# function calls from inline assembly (i.e., __sw_hweight64) with unaligned sp
|
|
# leading to GPs during fxsave on x86).
|
|
#
|
|
LD_OPT += -Bsymbolic-functions
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib
|
|
vpath %.c $(LXIP_DIR)/spec/$(SPEC_ARCH)
|
|
vpath % $(LXIP_DIR)
|
|
|
|
# vi: set ft=make :
|