summaryrefslogtreecommitdiff
path: root/package/meson/src/cross-compilation.conf.in
blob: eb14312bcdd12f54bbbc32195d6b622816862116 (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
# 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'                                                
pkgconfig = '@STAGING_HOST_DIR@/usr/bin/pkg-config'

[properties]                                                                 
c_args = [@TARGET_CFLAGS@]                                                   
c_link_args = [@TARGET_LDFLAGS@]                                             
cpp_args = [@TARGET_CXXFLAGS@]                                               
cpp_link_args = [@TARGET_LDFLAGS@]                                           
needs_exe_wrapper = true
                                                                             
[host_machine]                                                               
system = 'linux'                                                             
cpu_family ='@TARGET_ARCH@'                                                  
cpu = '@TARGET_CPU@'                                                         
endian = '@TARGET_ENDIAN@'