rules.mk: simplify FAKEROOT command line

Since fakeroot is patched to discover related ressources relative to the
STAGING_DIR_HOST environment variable, there is no need to pass the path
to faked or the preload library manually anymore.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-09-10 14:54:49 +02:00 committed by Daniel Golle
parent f93cb5c2c8
commit 0fdbd2e61f
1 changed files with 1 additions and 6 deletions

View File

@ -264,12 +264,7 @@ endif
BUILD_KEY=$(TOPDIR)/key-build
ifeq ($(HOST_OS),Darwin)
FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.dylib
else
FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.so
endif
FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot -l $(FAKEROOT_SO) -f $(STAGING_DIR_HOST)/bin/faked
FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot
TARGET_CC:=$(TARGET_CROSS)gcc
TARGET_CXX:=$(TARGET_CROSS)g++