Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aosp-external-mesa3d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bernhard Rosenkränzer
aosp-external-mesa3d
Commits
faebeb2e
Commit
faebeb2e
authored
1 year ago
by
Alistair Delva
Committed by
Gerrit Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Fixup freedren bison/lex usage"
parents
04cb2509
61abc3e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Android.mk
+2
-0
2 additions, 0 deletions
Android.mk
src/freedreno/Android.ir3.mk
+3
-6
3 additions, 6 deletions
src/freedreno/Android.ir3.mk
with
5 additions
and
6 deletions
Android.mk
+
2
−
0
View file @
faebeb2e
...
...
@@ -55,8 +55,10 @@ MESA_COMMON_MK := $(MESA_TOP)/Android.common.mk
MESA_PYTHON3
:=
python3
ifeq
($(filter 5 6 7 8 9 10, $(MESA_ANDROID_MAJOR_VERSION)),)
MESA_LEX
:=
M4
=
$(
M4
)
$(
LEX
)
MESA_BISON
:=
M4
=
$(
M4
)
$(
BISON
)
else
MESA_LEX
:=
$(
LEX
)
MESA_BISON
:=
$(
BISON
)
endif
# Lists to convert driver names to boolean variables
...
...
This diff is collapsed.
Click to expand it.
src/freedreno/Android.ir3.mk
+
3
−
6
View file @
faebeb2e
...
...
@@ -78,8 +78,7 @@ ir3_parser_deps := \
$(intermediates)/ir3/ir3_lexer.c
:
$(ir3_lexer_deps) $(LEX) $(M4)
@
mkdir
-p
$(
dir
$@
)
@
echo
"Gen Header:
$(
PRIVATE_MODULE
)
<=
$(
notdir
$(
@
))
"
$(
hide
)
$(
MESA_LEX
)
-o
$@
$<
$(
hide
)
M4
=
$(
M4
)
$(
LEX
)
--nounistd
-o
$@
$<
$(
hide
)
$(
MESA_LEX
)
--nounistd
-o
$@
$<
$(intermediates)/ir3/ir3_nir_imul.c
:
$(prebuilt_intermediates)/ir3/ir3_nir_imul.c
cp
-a
$<
$@
...
...
@@ -90,14 +89,12 @@ $(intermediates)/ir3/ir3_nir_trig.c: $(prebuilt_intermediates)/ir3/ir3_nir_trig.
$(intermediates)/ir3/ir3_parser.c
:
$(ir3_parser_deps) $(BISON) $(BISON_DATA) $(M4)
@
mkdir
-p
$(
dir
$@
)
@
echo
"Gen Header:
$(
PRIVATE_MODULE
)
<=
$(
notdir
$(
@
))
"
$(
hide
)
$(
BISON
)
$<
--name-prefix
=
ir3_yy
--output
=
$@
$(
hide
)
M4
=
$(
M4
)
$(
BISON
)
$<
--name-prefix
=
ir3_yy
--output
=
$@
$(
hide
)
$(
MESA_BISON
)
$<
--name-prefix
=
ir3_yy
--output
=
$@
$(intermediates)/ir3/ir3_parser.h
:
$(ir3_parser_deps) $(BISON) $(BISON_DATA) $(M4)
@
mkdir
-p
$(
dir
$@
)
@
echo
"Gen Header:
$(
PRIVATE_MODULE
)
<=
$(
notdir
$(
@
))
"
$(
hide
)
$(
BISON
)
$<
--name-prefix
=
ir3_yy
--defines
=
$@
--output
=
$@
.tab.c
$(
hide
)
M4
=
$(
M4
)
$(
BISON
)
$<
--name-prefix
=
ir3_yy
--defines
=
$@
--output
=
$@
.tab.c
$(
hide
)
$(
MESA_BISON
)
$<
--name-prefix
=
ir3_yy
--defines
=
$@
--output
=
$@
.tab.c
include
$(MESA_COMMON_MK)
include
$(BUILD_STATIC_LIBRARY)
This diff is collapsed.
Click to expand it.
Bernhard Rosenkränzer
@bero
mentioned in commit
6626f6c1
·
1 year ago
mentioned in commit
6626f6c1
mentioned in commit 6626f6c12956b812ab179c48c417cfe945bef5af
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment