summaryrefslogtreecommitdiffstats
path: root/src/progs/tbl_bootloader
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-05-01 12:25:28 +0200
committerSlávek Banko <[email protected]>2016-05-01 12:25:28 +0200
commit9f4064c1e558a946ea30ab93bd132745abe80a39 (patch)
treed0d75fc1fdf48b907dd2a92ee3c2975ec35e6a21 /src/progs/tbl_bootloader
parent4f8fcc711f2ae7f5a10a5695e8ad9bd4e2536f82 (diff)
downloadpiklab-9f4064c1e558a946ea30ab93bd132745abe80a39.tar.gz
piklab-9f4064c1e558a946ea30ab93bd132745abe80a39.zip
Fix build out-of-source
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/progs/tbl_bootloader')
-rw-r--r--src/progs/tbl_bootloader/base/Makefile.am6
-rw-r--r--src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/tbl_bootloader/base/Makefile.am b/src/progs/tbl_bootloader/base/Makefile.am
index 60b11bc..cd3cb7c 100644
--- a/src/progs/tbl_bootloader/base/Makefile.am
+++ b/src/progs/tbl_bootloader/base/Makefile.am
@@ -3,9 +3,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libtblbootloader.la
libtblbootloader_la_SOURCES = tbl_bootloader_data.cpp tbl_bootloader.cpp tbl_bootloader_prog.cpp
-libtblbootloader_la_DEPENDENCIES = tbl_bootloader_data.cpp
+libtblbootloader_la_DEPENDENCIES = $(srcdir)/tbl_bootloader_data.cpp
noinst_DATA = tbl_bootloader.xml
-tbl_bootloader_data.cpp: ../xml/xml_tbl_bootloader_parser tbl_bootloader.xml
- ../xml/xml_tbl_bootloader_parser
+$(srcdir)/tbl_bootloader_data.cpp: ../xml/xml_tbl_bootloader_parser tbl_bootloader.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_tbl_bootloader_parser
CLEANFILES = tbl_bootloader_data.cpp
diff --git a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
index e12564f..047d008 100644
--- a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
+++ b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
@@ -7,7 +7,7 @@
* (at your option) any later version. *
***************************************************************************/
#ifndef TBL_BOOTLOADER_UI_H
-#define TBL8BOOTLOADER_UI_H
+#define TBL_BOOTLOADER_UI_H
#include <kcombobox.h>
#include <knuminput.h>