- introduce TARGET_ROOT define to fix paths in native mode

Conflicts:
	src/neutrino.cpp
This commit is contained in:
vanhofen
2023-01-23 23:50:18 +01:00
committed by Thilo Graf
parent 6aded31eb3
commit 430bb80aba
4 changed files with 64 additions and 44 deletions

View File

@@ -29,7 +29,7 @@
#define NEUTRINO_CPP extern
#endif
#define IMAGE_VERSION_FILE "/.version"
#define IMAGE_VERSION_FILE TARGET_ROOT "/.version"
#define NEUTRINO_SETTINGS_FILE CONFIGDIR "/neutrino.conf"
#define NEUTRINO_SCAN_SETTINGS_FILE CONFIGDIR "/scan.conf"
@@ -112,8 +112,4 @@ NEUTRINO_CPP CRadioTextGUI *g_RadiotextWin;
#define ENABLE_GUI_MOUNT
#endif
#ifndef TARGET_PREFIX
#define TARGET_PREFIX ""
#endif
#endif /* __neutrino_global_h__ */