mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 16:38:09 +02:00
mesa: fix es1/2 build hopefully
needed to add cpp rules and includes properly for es1/es2
This commit is contained in:
parent
1c2a44e445
commit
0aa41e1d96
1 changed files with 8 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ MESA_INCLUDES := $(INCLUDE_DIRS)
|
|||
ES1_INCLUDES := -I$(TOP)/src/mapi/es1api $(INCLUDE_DIRS)
|
||||
ES2_INCLUDES := -I$(TOP)/src/mapi/es2api $(INCLUDE_DIRS)
|
||||
MESA_INCLUDES := -I$(TOP)/src/glsl $(MESA_INCLUDES)
|
||||
ES1_INCLUDES := -I$(TOP)/src/glsl $(ES1_INCLUDES)
|
||||
ES2_INCLUDES := -I$(TOP)/src/glsl $(ES2_INCLUDES)
|
||||
# For symbol_table.h in glsl compiler headers.
|
||||
MESA_INCLUDES := -I$(TOP)/src/mesa/shader $(MESA_INCLUDES)
|
||||
|
||||
|
|
@ -68,12 +70,18 @@ $(MESA_OBJ_DIR)/%.o: %.S
|
|||
$(ES1_OBJ_DIR)/%.o: %.c
|
||||
$(call mesa-cc-c,ES1)
|
||||
|
||||
$(ES1_OBJ_DIR)/%.o: %.cpp
|
||||
$(call mesa-cxx-c,ES1)
|
||||
|
||||
$(ES1_OBJ_DIR)/%.o: %.S
|
||||
$(call mesa-cc-c,ES1)
|
||||
|
||||
$(ES2_OBJ_DIR)/%.o: %.c
|
||||
$(call mesa-cc-c,ES2)
|
||||
|
||||
$(ES2_OBJ_DIR)/%.o: %.cpp
|
||||
$(call mesa-cxx-c,ES2)
|
||||
|
||||
$(ES2_OBJ_DIR)/%.o: %.S
|
||||
$(call mesa-cc-c,ES2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue