mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 15:07:16 +00:00
depot: recipe for src/intel_fb_drv
This commit is contained in:
parent
23e15cb2ab
commit
14b5e81f1e
@ -9,8 +9,15 @@ ifeq ($(called_from_lib_mk),yes)
|
||||
LX_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/drivers/framebuffer/intel
|
||||
LX_EMUL_H := $(REP_DIR)/src/drivers/framebuffer/intel/include/lx_emul.h
|
||||
|
||||
GEN_INCLUDES := $(shell grep -rIh "^\#include .*" $(LX_CONTRIB_DIR) |\
|
||||
sed "s/^\#include [^<\"]*[<\"]\([^>\"]*\)[>\"].*/\1/" | sort | uniq)
|
||||
#
|
||||
# Determine the header files included by the contrib code. For each
|
||||
# of these header files we create a symlink to 'lx_emul.h'.
|
||||
#
|
||||
SCAN_DIRS := $(addprefix $(LX_CONTRIB_DIR)/include/, drm uapi asm-generic video linux) \
|
||||
$(addprefix $(LX_CONTRIB_DIR)/, drivers lib arch/x86)
|
||||
GEN_INCLUDES := $(shell grep -rIh "^\#include .*" $(SCAN_DIRS) |\
|
||||
sed "s/^\#include [^<\"]*[<\"]\([^>\"]*\)[>\"].*/\1/" |\
|
||||
sort | uniq)
|
||||
|
||||
#
|
||||
# Put Linux headers in 'GEN_INC' dir, since some include use "../../" paths use
|
||||
|
27
repos/dde_linux/recipes/src/intel_fb_drv/content.mk
Normal file
27
repos/dde_linux/recipes/src/intel_fb_drv/content.mk
Normal file
@ -0,0 +1,27 @@
|
||||
LIB_MK := lib/mk/spec/x86/intel_fb_drv.mk \
|
||||
lib/mk/spec/x86/intel_fb_include.mk \
|
||||
$(foreach SPEC,x86_32 x86_64,lib/mk/spec/$(SPEC)/lx_kit_setjmp.mk)
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
|
||||
|
||||
MIRROR_FROM_REP_DIR := $(LIB_MK) \
|
||||
lib/import/import-intel_fb_include.mk \
|
||||
src/include src/lx_kit \
|
||||
$(shell cd $(REP_DIR); find src/drivers/framebuffer/intel -type f)
|
||||
|
||||
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/drivers/framebuffer/intel -type f | grep -v ".git")
|
||||
MIRROR_FROM_PORT_DIR := $(filter-out $(MIRROR_FROM_REP_DIR),$(MIRROR_FROM_PORT_DIR))
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
$(MIRROR_FROM_PORT_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp $(PORT_DIR)/$@ $@
|
||||
|
||||
content: LICENSE
|
||||
LICENSE:
|
||||
( echo "GNU General Public License version 2, see:"; \
|
||||
echo "https://www.kernel.org/pub/linux/kernel/COPYING" ) > $@
|
1
repos/dde_linux/recipes/src/intel_fb_drv/hash
Normal file
1
repos/dde_linux/recipes/src/intel_fb_drv/hash
Normal file
@ -0,0 +1 @@
|
||||
2017-09-06 afd3748931013b0391223cba8768afe4bb000ccc
|
8
repos/dde_linux/recipes/src/intel_fb_drv/used_apis
Normal file
8
repos/dde_linux/recipes/src/intel_fb_drv/used_apis
Normal file
@ -0,0 +1,8 @@
|
||||
base
|
||||
os
|
||||
platform_session
|
||||
timer_session
|
||||
report_session
|
||||
framebuffer_session
|
||||
libc_setjmp
|
||||
blit
|
Loading…
x
Reference in New Issue
Block a user