mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
parent
f21493272d
commit
b112b7b4ce
@ -1 +1 @@
|
|||||||
aa41251dfb32c023a28e0c320ef93f9dbc997b5b
|
6835d67506c800140e54b384baa5b070c8e48aeb
|
||||||
|
@ -24,6 +24,17 @@ $(call check_tool,bison)
|
|||||||
$(call check_tool,flex)
|
$(call check_tool,flex)
|
||||||
$(call check_tool,python)
|
$(call check_tool,python)
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Determine python version to use
|
||||||
|
#
|
||||||
|
PYTHON := $(notdir $(lastword $(shell which python2 $(addprefix python2.,4 5 6 7 8))))
|
||||||
|
ifeq ($(PYTHON),)
|
||||||
|
default: python_not_installed
|
||||||
|
python_not_installed:
|
||||||
|
$(error mesa requires python2)
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate files
|
# Generate files
|
||||||
#
|
#
|
||||||
@ -65,7 +76,7 @@ src/lib/mesa/src/mesa/program/lex.yy.c:
|
|||||||
src/lib/mesa/src/mapi/shared-glapi/glapi_mapi_tmp.h:
|
src/lib/mesa/src/mapi/shared-glapi/glapi_mapi_tmp.h:
|
||||||
@$(MSG_GENERATE)$(notdir $@)
|
@$(MSG_GENERATE)$(notdir $@)
|
||||||
$(VERBOSE)mkdir -p $(@D)
|
$(VERBOSE)mkdir -p $(@D)
|
||||||
$(VERBOSE)python $(@D)/../mapi_abi.py --mode lib --printer shared-glapi \
|
$(VERBOSE)$(PYTHON) $(@D)/../mapi_abi.py --mode lib --printer shared-glapi \
|
||||||
$(@D)/../glapi/gen/gl_and_es_API.xml > $@
|
$(@D)/../glapi/gen/gl_and_es_API.xml > $@
|
||||||
|
|
||||||
default: $(DOWNLOADS) $(generated_files)
|
default: $(DOWNLOADS) $(generated_files)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user