Browse Source

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

pull/1/head
Lephenixnoir 1 year ago
parent
commit
41dd7ae092
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
  1. 1
      Makefile
  2. 3
      README.md
  3. 3
      fxos/main.cpp

1
Makefile

@ -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

3
README.md

@ -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

3
fxos/main.cpp

@ -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";

Loading…
Cancel
Save