mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
b95dc611d6
Generated a separate 'config.h' for arm, arm_64, x86_32, x86_64 for the current version (6.1.2) of GMP. This became necessary because configurations differ for each architecture. 'config.h' generaton on x86_64 host in'gmp-6.1.2' directory: for x86_64 (native): ! configure for x86_32: ! configure --host=x86-pc-linux-gnu --build=x86_64-pc-linux-gnu for arm: ! configure --host=arm-linux-gnu --build=x86_64-pc-linux-gnu \ ! CC=/usr/local/gcc-linaro-arm/bin/arm-linux-gnueabi-gcc ABI=32 for arm_v8: ! configure --host=aarch64-linux-gnu --build=x86_64-pc-linux-gnu \ ! CC=/usr/local/gcc-linaro/bin/aarch64-linux-gnu-gcc ABI=64 issue #3598
29 lines
788 B
Makefile
29 lines
788 B
Makefile
GMP_PORT_DIR := $(call select_from_ports,gmp)
|
|
|
|
REP_INC_DIR += include/gmp
|
|
|
|
INC_DIR += $(GMP_PORT_DIR)/include
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
REP_INC_DIR += include/spec/32bit/gmp
|
|
REP_INC_DIR += include/spec/arm/gmp
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/arm
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
REP_INC_DIR += include/spec/64bit/gmp
|
|
REP_INC_DIR += include/spec/arm_64/gmp
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/arm_64
|
|
endif
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
REP_INC_DIR += include/spec/32bit/gmp
|
|
REP_INC_DIR += include/spec/x86_32/gmp
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/x86_32
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
REP_INC_DIR += include/spec/64bit/gmp
|
|
REP_INC_DIR += include/spec/x86_64/gmp
|
|
INC_DIR += $(GMP_PORT_DIR)/include/spec/x86_64
|
|
endif
|