Skip to content

Commit

Permalink
rules.mk: simplify FAKEROOT command line
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jow- authored and dangowrt committed Oct 30, 2020
1 parent f93cb5c commit 0fdbd2e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit 0fdbd2e

Please sign in to comment.