mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
parent
ca95621db5
commit
ca39a9ea61
@ -19,19 +19,19 @@
|
|||||||
# package build tool.
|
# package build tool.
|
||||||
#
|
#
|
||||||
ifeq ($(filter-out $(SPECS),x86_32),)
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-x86-
|
CROSS_DEV_PREFIX ?= /usr/local/genode/tool/19.05/bin/genode-x86-
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter-out $(SPECS),x86_64),)
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-x86-
|
CROSS_DEV_PREFIX ?= /usr/local/genode/tool/19.05/bin/genode-x86-
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter-out $(SPECS),arm),)
|
ifeq ($(filter-out $(SPECS),arm),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-arm-
|
CROSS_DEV_PREFIX ?= /usr/local/genode/tool/19.05/bin/genode-arm-
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter-out $(SPECS),riscv),)
|
ifeq ($(filter-out $(SPECS),riscv),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-riscv-
|
CROSS_DEV_PREFIX ?= /usr/local/genode/tool/19.05/bin/genode-riscv-
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter-out $(SPECS),arm_64),)
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-aarch64-
|
CROSS_DEV_PREFIX ?= /usr/local/genode/tool/19.05/bin/genode-aarch64-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -46,7 +46,7 @@ sdk_usage:
|
|||||||
SDK_DIR ?= $(DEFAULT_SDK_DIR_PREFIX)-$(PLATFORM)-$(VERSION)
|
SDK_DIR ?= $(DEFAULT_SDK_DIR_PREFIX)-$(PLATFORM)-$(VERSION)
|
||||||
DEPOT_USER ?= $(DEFAULT_DEPOT_USER)
|
DEPOT_USER ?= $(DEFAULT_DEPOT_USER)
|
||||||
|
|
||||||
TOOLCHAIN_DIR ?= /usr/local/genode-gcc
|
TOOLCHAIN_DIR ?= /usr/local/genode/tool/current
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sanity checks
|
# Sanity checks
|
||||||
|
@ -59,7 +59,7 @@ endif
|
|||||||
|
|
||||||
UBOOT_MAKE := \
|
UBOOT_MAKE := \
|
||||||
$(VERBOSE)make ARCH=$(ARCH) \
|
$(VERBOSE)make ARCH=$(ARCH) \
|
||||||
CROSS_COMPILE=/usr/local/genode-gcc/bin/genode-$(ARCH)- \
|
CROSS_COMPILE=/usr/local/genode/tool/current/bin/genode-$(ARCH)- \
|
||||||
O=$(UBOOT_BUILD_DIR) \
|
O=$(UBOOT_BUILD_DIR) \
|
||||||
-j4
|
-j4
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ BINUTILS_VERSION = 2.32
|
|||||||
#
|
#
|
||||||
|
|
||||||
DEFAULT_BUILD_LOCATION = $(GENODE_DIR)/build/tool_chain-$(TOOL_CHAIN_VERSION)
|
DEFAULT_BUILD_LOCATION = $(GENODE_DIR)/build/tool_chain-$(TOOL_CHAIN_VERSION)
|
||||||
DEFAULT_INSTALL_LOCATION = /usr/local/genode-gcc
|
DEFAULT_INSTALL_LOCATION = /usr/local/genode/tool/$(TOOL_CHAIN_VERSION)
|
||||||
|
|
||||||
BUILD_LOCATION ?= $(DEFAULT_BUILD_LOCATION)
|
BUILD_LOCATION ?= $(DEFAULT_BUILD_LOCATION)
|
||||||
INSTALL_LOCATION ?= $(DEFAULT_INSTALL_LOCATION)
|
INSTALL_LOCATION ?= $(DEFAULT_INSTALL_LOCATION)
|
||||||
@ -546,5 +546,9 @@ cleanall: clean
|
|||||||
|
|
||||||
install: build_all
|
install: build_all
|
||||||
$(ECHO) "$(BRIGHT_COL)installing tool chain to '$(INSTALL_LOCATION)'...$(DEFAULT_COL)"
|
$(ECHO) "$(BRIGHT_COL)installing tool chain to '$(INSTALL_LOCATION)'...$(DEFAULT_COL)"
|
||||||
|
$(VERBOSE)$(SUDO) mkdir -p $(INSTALL_LOCATION)
|
||||||
$(VERBOSE)$(SUDO) cp -a --remove-destination --no-target-directory $(LOCAL_INSTALL_LOCATION) $(INSTALL_LOCATION)
|
$(VERBOSE)$(SUDO) cp -a --remove-destination --no-target-directory $(LOCAL_INSTALL_LOCATION) $(INSTALL_LOCATION)
|
||||||
$(VERBOSE)$(LIB_GCC)
|
$(VERBOSE)$(LIB_GCC)
|
||||||
|
ifeq ($(INSTALL_LOCATION),$(DEFAULT_INSTALL_LOCATION))
|
||||||
|
$(VERBOSE)$(SUDO) ln -snf $(TOOL_CHAIN_VERSION) $(dir $(INSTALL_LOCATION))/current
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user