mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-02 16:52:52 +00:00
Let default tools.conf cover each architecture
This patch handles x86_32 and x86_64 separately since this is the SPEC value directly supplied to the package build tool. This way, we achieve that a CROSS_DEV_PREFIX is defined for each supported argument.
This commit is contained in:
parent
a15a86b024
commit
a804802bcd
@ -10,13 +10,18 @@
|
|||||||
#CUSTOM_LD = ld
|
#CUSTOM_LD = ld
|
||||||
|
|
||||||
#
|
#
|
||||||
# For using a cross-compile tool chain, the names of all
|
# For using a cross-compile tool chain, the names of all binutils and compilers
|
||||||
# binutils and compilers are typically prefixed by the
|
# are typically prefixed by the target platform. Instead of defining CUSTOM_*
|
||||||
# target platform. Instead of defining CUSTOM_* variables
|
# variables individually for each tool, the prefix can be defined via the
|
||||||
# individually for each tool, the prefix can be defined
|
# following variable.
|
||||||
# via the following variable.
|
|
||||||
#
|
#
|
||||||
ifeq ($(filter-out $(SPECS),x86),)
|
# We handle all architectures that may be specified as SPEC argument to the
|
||||||
|
# package build tool.
|
||||||
|
#
|
||||||
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
||||||
|
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-x86-
|
||||||
|
endif
|
||||||
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
||||||
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-x86-
|
CROSS_DEV_PREFIX ?= /usr/local/genode-gcc/bin/genode-x86-
|
||||||
endif
|
endif
|
||||||
ifeq ($(filter-out $(SPECS),arm),)
|
ifeq ($(filter-out $(SPECS),arm),)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user