diff options
author | Michele Calgaro <[email protected]> | 2024-05-06 18:26:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-07 11:02:46 +0900 |
commit | 014e4b95648f2b8e7deb57acb0cdd8cefc363477 (patch) | |
tree | 02ced501daff512fed5126427f57eca6c2ef3630 /src/devices/pic/xml_data | |
parent | f2e2d9a5271aa9cfd966592d50f60d5b5bf550f4 (diff) | |
download | piklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.tar.gz piklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.zip |
Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ac3f0014232619edc41865f6e42e6510bdd8acc6)
Diffstat (limited to 'src/devices/pic/xml_data')
-rw-r--r-- | src/devices/pic/xml_data/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pic/xml_data/Makefile.am b/src/devices/pic/xml_data/Makefile.am index e5bd5c4..97496a4 100644 --- a/src/devices/pic/xml_data/Makefile.am +++ b/src/devices/pic/xml_data/Makefile.am @@ -3,10 +3,10 @@ METASOURCES = AUTO noinst_LTLIBRARIES = libpicxml.la libpicxml_la_SOURCES = pic_data.cpp -libpicxml_la_DEPENDENCIES = $(srcdir)/pic_data.cpp +libpicxml_la_DEPENDENCIES = pic_data.cpp include deps.mak noinst_DATA += registers/registers.xml registers/registers_missing.xml -$(srcdir)/pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA) - cd $(srcdir) && $(abs_builddir)/../xml/pic_xml_to_data +pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA) + cd $(abs_builddir) && ./../xml/pic_xml_to_data $(srcdir) CLEANFILES = pic_data.cpp |