summaryrefslogtreecommitdiff
path: root/package/meson/src/cross-compilation.conf.in
blob: 24ef6ef53b124bac4baa6efb2114c46418e4f721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Note: OpenADK's and Meson's terminologies differ about the meaning       
# of 'build', 'host' and 'target':                                           
# - OpenADK's 'host' is Meson's 'build'                                    
# - OpenADK's 'target' is Meson's 'host'                                   
                                                                             
[binaries]                                                                   
c = '@TARGET_CROSS@gcc'                                                      
cpp = '@TARGET_CROSS@g++'                                                    
ar = '@TARGET_CROSS@ar'                                                      
strip = '@TARGET_CROSS@strip'                                                
pkg-config = '@STAGING_HOST_DIR@/usr/bin/pkg-config'

[built-in options]
c_args = [@TARGET_CFLAGS@]                                                   
c_link_args = [@TARGET_LDFLAGS@]                                             
cpp_args = [@TARGET_CXXFLAGS@]                                               
cpp_link_args = [@TARGET_LDFLAGS@]                                           

[properties]                                                                 
needs_exe_wrapper = true
                                                                             
[host_machine]                                                               
system = 'linux'                                                             
cpu_family ='@TARGET_ARCH@'                                                  
cpu = '@TARGET_CPU@'                                                         
endian = '@TARGET_ENDIAN@'