mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
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:
parent
f93cb5c2c8
commit
0fdbd2e61f
7
rules.mk
7
rules.mk
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user