1 # Copyright © 1995-2018, The AROS Development Team. All rights reserved.
4 # Desc: target.cfg - an autoconf output file for make variables.
7 # --------------------------------------------------------------------------
9 # --------------------------------------------------------------------------
10 FAMILY := @aros_target_family@
11 FLAVOUR := @aros_flavour@
12 SHARED_MOD := @aros_shared_default@
14 TARGET_BINUTILS_VER := @target_binutils_version@
15 TARGET_GCC_VER := @target_gcc_version@
17 TARGET_CPP := @aros_target_cpp@
18 KERNEL_CPP := @aros_kernel_cpp@
19 TARGET_CC := $(CC_PREFIX) @aros_target_cc@
20 KERNEL_CC := @aros_kernel_cc@
21 TARGET_CXX := @aros_target_cxx@
22 KERNEL_CXX := @aros_target_cxx@
23 TARGET_AS := @aros_target_as@
24 TARGET_LD := @aros_target_ld@
25 SHARED_LD := @aros_shared_ld@
26 KERNEL_LD := @aros_kernel_ld@
27 GENMAP := @aros_target_genmap@
28 TARGET_OBJCOPY := @aros_target_objcopy@
30 TARGET_DEF_STRIP := @aros_target_strip@ @aros_target_strip_flags@
32 TARGET_OBJDUMP := @aros_target_objdump@
33 KERNEL_RESCOMP := @aros_kernel_rescomp@
35 CONFIG_NOWARN_CFLAGS = $(foreach nowarn,@aros_nowarn_flags@,$($(nowarn)))
36 CONFIG_WARN_CFLAGS := @aros_warn_flags@
37 CONFIG_NOWARN_CXXFLAGS = $(foreach nowarn,$(subst NOWARN_POINTER_SIGN,,@aros_nowarn_flags@),$($(nowarn)))
38 CONFIG_WARN_CXXFLAGS := $(subst -Werror-implicit-function-declaration,,@aros_warn_flags@)
40 TARGET_SYSROOT := @aros_config_sysroot@
41 KERNEL_SYSROOT := @aros_kernel_sysroot@
42 CONFIG_BASE_CFLAGS = @aros_config_cflags@ $(CONFIG_NOWARN_CFLAGS)
43 CONFIG_BASE_CXXFLAGS = @aros_config_cxxflags@ $(CONFIG_NOWARN_CXXFLAGS)
44 CONFIG_BASE_CPPFLAGS = @aros_config_cppflags@
45 CONFIG_CFLAGS = @aros_config_cflags@ $(CONFIG_WARN_CFLAGS) $(CONFIG_NOWARN_CFLAGS)
46 CONFIG_CXXFLAGS = @aros_config_cxxflags@ $(CONFIG_WARN_CXXFLAGS) $(CONFIG_NOWARN_CXXFLAGS)
47 CONFIG_CPPFLAGS = @aros_config_cppflags@
48 CONFIG_AFLAGS := @aros_config_aflags@
49 CONFIG_LDFLAGS := @aros_config_ldflags@
50 SHARED_CFLAGS := @aros_shared_cflags@
51 SHARED_AFLAGS := @aros_shared_aflags@
52 SHARED_LDFLAGS := @aros_shared_ldflags@
53 KERNEL_CPPFLAGS = @aros_kernel_cppflags@
54 KERNEL_CFLAGS = @aros_kernel_cflags@
55 KERNEL_OBJCFLAGS := @aros_kernel_objcflags@
56 KERNEL_INCLUDES := @aros_kernel_includes@
57 KERNEL_LDFLAGS := @aros_kernel_ldflags@
58 TARGET_CFLAGS = $(OPTIMIZATION_CFLAGS) $(CONFIG_CFLAGS) $(USER_CFLAGS)
59 TARGET_CXXFLAGS = $(OPTIMIZATION_CFLAGS) $(CONFIG_CXXFLAGS) $(USER_CXXFLAGS)
60 TARGET_CPPFLAGS = $(USER_INCLUDES) $(CONFIG_CPPFLAGS) $(USER_CPPFLAGS)
61 DEBUG_CFLAGS := @aros_debug_cflags@
62 DEBUG_CXXFLAGS := @aros_debug_cxxflags@
63 DEBUG_CPPFLAGS := @aros_debug_cppflags@
64 DEBUG_AFLAGS := @aros_debug_aflags@
65 DEBUG_LDFLAGS := @aros_debug_ldflags@
66 OPTIMIZATION_CFLAGS := @aros_optimization_cflags@
67 @aros_isa_extra@ISA_FLAGS := @aros_isa_flags@
69 COVERAGEINSTR_FLAGS = $(CFLAGS_PROFILE_ARCS) $(CFLAGS_TEST_COVERAGE)
71 NOSTDINC_CFLAGS := @aros_target_nostdinc_cflags@
72 KERNEL_IQUOTE := @kernel_cflags_iquote@
73 KERNEL_IQUOTE_END := @kernel_cflags_iquote_end@
74 NOSTARTUP_LDFLAGS := @aros_target_nostartup_ldflags@
75 NIX_LDFLAGS := @aros_target_nix_ldflags@
76 DETACH_LDFLAGS := @aros_target_detach_ldflags@
77 NOSTDLIB_LDFLAGS := @aros_target_nostdlib_ldflags@
79 COMPILER_LIBS := @aros_compiler_libs@
80 ARCH_LIBS := @aros_arch_libs@
82 AR := @aros_target_ar@
83 AR_PLAIN := @aros_plain_ar@
84 KERNEL_AR := @aros_kernel_ar@
85 RANLIB := @aros_target_ranlib@
86 KERNEL_RANLIB := @aros_kernel_ranlib@
87 NM := @aros_target_nm@
88 NM_PLAIN := @aros_plain_nm@
89 OBJCOPY := @aros_target_objcopy@
90 OBJDUMP := @aros_target_objdump@
91 STRIP_PLAIN := @aros_target_strip@
94 IOS_PLATFORM := @aros_ios_platform@
95 IOS_OS_VERSION := @aros_ios_version@
96 IOS_SDK_PATH := @aros_ios_sdk@
98 # ARM gcc default target
99 GCC_DEFAULT_CPU := @gcc_default_cpu@
100 GCC_DEFAULT_FPU := @gcc_default_fpu@
101 GCC_DEFAULT_FLOAT_ABI := @gcc_default_float_abi@
102 GCC_DEFAULT_MODE := @gcc_default_mode@
104 # --------------------------------------------------------------------------
105 # MAGIC: This is needed here for MetaMake to work. mmake will read the
106 # configured version of this file to find out a number of variables.
107 # --------------------------------------------------------------------------
108 HOSTDIR := $(TOP)/bin/$(AROS_HOST_ARCH)-$(AROS_HOST_CPU)
109 TOOLDIR := $(HOSTDIR)/tools
110 GENMF := $(TOOLDIR)/genmf.py
111 ARCH := $(AROS_TARGET_ARCH)
112 CPU := $(AROS_TARGET_CPU)
113 CPU_MODE := $(AROS_TARGET_CPU_MODE)
118 USE_MMU := @aros_enable_mmu@
121 AROS_ANDROID_ANTAPK := @aros_android_antapk@
123 # Optional components
127 # Defined as 'yes' if we can build our own toolchain.
128 # This is a prerequisite for ObjectiveC and C++ support,
129 # since they depend on the AROS C Library
130 AROS_TARGET_TOOLCHAIN := @aros_target_toolchain@
132 # The toolchain family to build
133 AROS_TOOLCHAIN := @aros_toolchain@
135 # Bootloader to use on platforms that support it
136 AROS_TARGET_BOOTLOADER := @aros_target_bootloader@
138 PCI_HIDD_TARGET := @pci_hidd_target@
139 CROSSTOOLS_TARGET := @crosstools_target@
140 OBJC_TARGET := @objc_target@
141 JAVA_TARGET := @java_target@
142 OPT_HOST_X11GFX := @host_x_gfx@
143 OPT_HOST_SDLGFX := @host_sdl_gfx@
144 OPT_HOST_ANDROIDGFX := @host_android_gfx@
146 ENABLE_DBUS := @ENABLE_DBUS@