summaryrefslogtreecommitdiff
path: root/package/meson/src/cross-compilation.conf.in
blob: a636ca3296d55f500125bbbb31026054da7c309d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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@]                                           
                                                                             
[host_machine]                                                               
system = 'linux'                                                             
cpu_family ='@TARGET_ARCH@'                                                  
cpu = '@TARGET_CPU@'                                                         
endian = '@TARGET_ENDIAN@'