library: don't use the install folder as library anymore

This commit is contained in:
Lephenixnoir 2021-03-16 12:22:55 +01:00
parent 9c49114928
commit 41dd7ae092
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
3 changed files with 1 additions and 6 deletions

View File

@ -16,7 +16,6 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(@:%.o=%.d)
# Default install prefix (beware of sudo...)
PREFIX ?= $(HOME)/.local
CFLAGS += -D FXOS_INSTALL_PREFIX='"$(PREFIX)"'
#
# Main targets

View File

@ -66,8 +66,7 @@ load: /path/to/base-library/symbols
This means that fxos data files will be automatically loaded at startup from
the `asmtables`, `targets` and `symbols` directories. Targets refer to OS files
and RAM dumps by path, and these paths will be interpreted relatively to the
`base-library` folder. If you create `$PREFIX/share/fxos`, it will also be used
as if mentioned on a `library:` line.
`base-library` folder.
## Working with fxos data files

View File

@ -105,9 +105,6 @@ Analysis options:
void loadconfig(Library &lib)
{
/* First add the fxos install folder as PATH */
lib.add_path(FXOS_INSTALL_PREFIX "/share/fxos");
std::string home = getenv("HOME");
fs::path configpath = home + "/.config/fxos/config";