mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-05 17:01:47 +00:00
Noux: change default --prefix in noux.mk
The directory specified by --prefix is not only used to determine the install location but is also used by -rpath. Therefor it is better to use $(DESTDIR) to install the binaries to the right directory and to use --prefix to express the actual location within NOUX.
This commit is contained in:
parent
66198660aa
commit
610a122f74
@ -77,7 +77,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
NOUX_CONFIGURE_ARGS += --srcdir=$(NOUX_PKG_DIR)
|
NOUX_CONFIGURE_ARGS += --srcdir=$(NOUX_PKG_DIR)
|
||||||
NOUX_CONFIGURE_ARGS += --prefix $(PWD)/install
|
NOUX_CONFIGURE_ARGS += --prefix /
|
||||||
|
|
||||||
CONFIG_GUESS_SCRIPT = $(NOUX_PKG_DIR)/config.guess)
|
CONFIG_GUESS_SCRIPT = $(NOUX_PKG_DIR)/config.guess)
|
||||||
ifneq ($(wildcard $(CONFIG_GUESS_SCRIPT)),)
|
ifneq ($(wildcard $(CONFIG_GUESS_SCRIPT)),)
|
||||||
@ -173,7 +173,7 @@ noux_built.tag: noux_env.sh Makefile
|
|||||||
|
|
||||||
noux_installed.tag: noux_built.tag
|
noux_installed.tag: noux_built.tag
|
||||||
@$(MSG_INST)$(TARGET)
|
@$(MSG_INST)$(TARGET)
|
||||||
$(VERBOSE)$(MAKE) $(NOUX_MAKE_VERBOSE) install MAN= >> stdout.log 2>> stderr.log
|
$(VERBOSE)$(MAKE) $(NOUX_MAKE_VERBOSE) install DESTDIR=$(PWD)/install MAN= >> stdout.log 2>> stderr.log
|
||||||
$(VERBOSE)rm -f $(INSTALL_DIR)/$(TARGET)
|
$(VERBOSE)rm -f $(INSTALL_DIR)/$(TARGET)
|
||||||
$(VERBOSE)ln -sf $(PWD)/install $(INSTALL_DIR)/$(TARGET)
|
$(VERBOSE)ln -sf $(PWD)/install $(INSTALL_DIR)/$(TARGET)
|
||||||
@touch $@
|
@touch $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user