mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 15:07:16 +00:00
Explicitly specify use of python2 for gallium-aux
Without this fix, the library will fail to build on systems where python3 is used by default.
This commit is contained in:
parent
a6f0067e7f
commit
f3a5b78d28
@ -37,7 +37,7 @@ CC_OPT_vl_mpeg12_mc_renderer += -Wno-enum-compare
|
||||
|
||||
u_%_gen.c: $(GALLIUM_SRC_DIR)/indices/u_%_gen.py
|
||||
$(MSG_CONVERT)$@
|
||||
@python $< > $@
|
||||
@python2 $< > $@
|
||||
|
||||
#
|
||||
# To generate 'u_format_pack.h' as well, so we explicitly state that
|
||||
@ -47,6 +47,6 @@ u_format_access.c: u_format_pack.h
|
||||
|
||||
u_format_%.c u_format_%.h: $(GALLIUM_AUX_SRC_DIR)/util/u_format_%.py
|
||||
$(MSG_CONVERT)$@
|
||||
@python $< $(GALLIUM_AUX_SRC_DIR)/util/u_format.csv > $@
|
||||
@python2 $< $(GALLIUM_AUX_SRC_DIR)/util/u_format.csv > $@
|
||||
|
||||
vpath %.c $(addprefix $(GALLIUM_AUX_SRC_DIR)/,$(SUBDIRS))
|
||||
|
Loading…
x
Reference in New Issue
Block a user