mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-02 08:42: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
|
||||
|
||||
#
|
||||
# For using a cross-compile tool chain, the names of all
|
||||
# binutils and compilers are typically prefixed by the
|
||||
# target platform. Instead of defining CUSTOM_* variables
|
||||
# individually for each tool, the prefix can be defined
|
||||
# via the following variable.
|
||||
# For using a cross-compile tool chain, the names of all binutils and compilers
|
||||
# are typically prefixed by the target platform. Instead of defining CUSTOM_*
|
||||
# variables individually for each tool, the prefix can be defined 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-
|
||||
endif
|
||||
ifeq ($(filter-out $(SPECS),arm),)
|
||||
|
Loading…
x
Reference in New Issue
Block a user