mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +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
22 lines
601 B
Makefile
22 lines
601 B
Makefile
MIRROR_FROM_REP_DIR := lib/import/import-gmp.mk lib/symbols/gmp
|
|
|
|
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/gmp)
|
|
|
|
content: $(MIRROR_FROM_REP_DIR) include LICENSE
|
|
|
|
$(MIRROR_FROM_REP_DIR):
|
|
$(mirror_from_rep_dir)
|
|
|
|
include:
|
|
mkdir -p $@
|
|
cp -r $(PORT_DIR)/include/* $@/
|
|
cp -r $(REP_DIR)/include/spec/32bit/gmp/* $@/
|
|
cp -r $(REP_DIR)/include/spec/64bit/gmp/* $@/
|
|
cp -r $(REP_DIR)/include/spec/arm/gmp/* $@/
|
|
cp -r $(REP_DIR)/include/spec/arm_64/gmp/* $@/
|
|
cp -r $(REP_DIR)/include/spec/x86_32/gmp/* $@/
|
|
cp -r $(REP_DIR)/include/spec/x86_64/gmp/* $@/
|
|
|
|
LICENSE:
|
|
cp $(PORT_DIR)/src/lib/gmp/COPYING $@
|