mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-03 12:34:12 +00:00
dd90424129
Support for iris and etnvaviv * entaviv: - libdrm on FreeBSD is not prepared for !PCI (and libc our is missing <sys/pciio.h> - missing <sys/types.h> include in xf86drmMode.c - etnaviv relies on linux header files - dummy in $(INC_DIR) - IOCTL FreeBSD ↔ Linux have swapped IO/OUT bit - O_CLOEXEC differs between FreeBSD ↔ Linux issue #4254
28 lines
601 B
Makefile
28 lines
601 B
Makefile
MIRROR_FROM_REP_DIR := lib/import/import-libdrm.mk \
|
|
lib/symbols/libdrm
|
|
|
|
content: $(MIRROR_FROM_REP_DIR)
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libdrm)
|
|
|
|
content: include
|
|
|
|
include:
|
|
mkdir -p $@
|
|
cp -r $(PORT_DIR)/src/lib/libdrm/*.h $@
|
|
mkdir -p $@/drm
|
|
cp -r $(PORT_DIR)/src/lib/libdrm/include/drm/*.h $@/drm
|
|
mkdir -p $@/intel
|
|
cp -r $(PORT_DIR)/src/lib/libdrm/intel/*.h $@/intel
|
|
mkdir -p $@/etnaviv
|
|
cp -r $(PORT_DIR)/src/lib/libdrm/etnaviv/*.h $@/etnaviv
|
|
|
|
content: LICENSE
|
|
|
|
LICENSE:
|
|
echo "MIT, see header files" > $@
|
|
|