diff options
author | Paolo Montesel <babush@rev.ng> | 2022-09-23 19:38:28 +0200 |
---|---|---|
committer | Taylor Simpson <tsimpson@quicinc.com> | 2022-12-16 11:36:57 -0800 |
commit | fd8171fe52b5e56b2052e51b3f9e82acab58d87f (patch) | |
tree | 7dafde1beeabb8dca8b876a1475c6a292f34271e /target/hexagon/meson.build | |
parent | 7c19dcc5646aef8ef31d453adf81becdcfb43c19 (diff) |
target/hexagon: import lexer for idef-parser
Signed-off-by: Alessandro Di Federico <ale@rev.ng>
Signed-off-by: Paolo Montesel <babush@rev.ng>
Signed-off-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20220923173831.227551-9-anjo@rev.ng>
Diffstat (limited to 'target/hexagon/meson.build')
-rw-r--r-- | target/hexagon/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build index aaa487f950..5af0a6f419 100644 --- a/target/hexagon/meson.build +++ b/target/hexagon/meson.build @@ -197,6 +197,12 @@ if idef_parser_enabled and 'hexagon-linux-user' in target_dirs depend_files: [idef_parser_dir / 'macros.inc'], command: [idef_parser_dir / 'prepare', '@INPUT@', '-I' + idef_parser_dir, '-o', '@OUTPUT@'], ) + + flex = generator( + find_program('flex'), + output: ['@BASENAME@.yy.c', '@BASENAME@.yy.h'], + arguments: ['-o', '@OUTPUT0@', '--header-file=@OUTPUT1@', '@INPUT@'] + ) endif target_arch += {'hexagon': hexagon_ss} |