diff options
author | Lee Duncan <lduncan@suse.com> | 2022-04-13 12:06:28 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2022-04-13 12:06:28 -0700 |
commit | 31ef94d20bd8ec8b0ad29672038c86aec11f0d6f (patch) | |
tree | 3d6dc63e8917570be450bb16059226d5a43b9914 /usr/fwparam_ibft/README | |
parent | 7de11c99ba1e4b9581376d5a9f805b007c133c43 (diff) | |
download | open-iscsi-31ef94d20bd8ec8b0ad29672038c86aec11f0d6f.tar.gz |
Make fwparam_ibft build more reliable.
This build has lex and bison source files, but
they are not normally used to regenerate C files,
since that has been done ahead of time, statically,
to handle the case when users building the software
may not have these tools. But some build systems
think the generated C files need to be regenerated
because the timestamp on the source and generated
files is so close, just because of the order the
files were populated in this directory. So we tell
the Makefile to only generate C files if those
files are missing. This should have no effect,
since these files should never need to be
regenerated unless we change lex or bison logic.
Diffstat (limited to 'usr/fwparam_ibft/README')
-rw-r--r-- | usr/fwparam_ibft/README | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/fwparam_ibft/README b/usr/fwparam_ibft/README index f040493..0888cf9 100644 --- a/usr/fwparam_ibft/README +++ b/usr/fwparam_ibft/README @@ -13,7 +13,11 @@ tools, but the system of having static parsing and lexical analysis has worked for so long (and isn't broken), it would be a shame to change and break it. So the static -files remain, for now. +files remain, for now. If you actually wish +to rerun either of these tools, the Makefile +is set up so that you have to first remove the +generated files (prom_lex.c for lex, prom_parse.tab.c, +and prom_parse.tab.h for bison). Note: if you wish to use these object files, they have two external requirements: they |