From 41dd7ae092131fa165066a183a8c035e5f6f158b Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 16 Mar 2021 12:22:55 +0100 Subject: [PATCH] library: don't use the install folder as library anymore --- Makefile | 1 - README.md | 3 +-- fxos/main.cpp | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cf5984c..b7d2015 100755 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index aa0c32d..5b9a49f 100644 --- a/README.md +++ b/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 diff --git a/fxos/main.cpp b/fxos/main.cpp index 516a773..8a40012 100644 --- a/fxos/main.cpp +++ b/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";