You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							734 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							734 B
						
					
					
				| Import('env', 'arch', 'common', 'cereal', 'messaging')
 | |
| if arch == "aarch64":
 | |
|   env.Program('_sensord', 'sensors_qcom.cc', LIBS=['hardware', common, cereal, messaging, 'capnp', 'zmq', 'kj'])
 | |
|   lenv = env.Clone()
 | |
|   lenv['LIBPATH'] += ['/system/vendor/lib64']
 | |
|   lenv.Program('_gpsd', ['gpsd.cc'], LIBS=['hardware', common, 'diag', 'time_genoff', cereal, messaging, 'capnp', 'zmq', 'kj'])
 | |
| else:
 | |
|   sensors = [
 | |
|     'sensors/file_sensor.cc',
 | |
|     'sensors/i2c_sensor.cc',
 | |
|     'sensors/light_sensor.cc',
 | |
|     'sensors/bmx055_accel.cc',
 | |
|     'sensors/bmx055_gyro.cc',
 | |
|     'sensors/bmx055_magn.cc',
 | |
|     'sensors/bmx055_temp.cc',
 | |
|   ]
 | |
|   env.Program('_sensord', ['sensors_qcom2.cc'] + sensors, LIBS=[common, cereal, messaging, 'capnp', 'zmq', 'kj'])
 | |
| 
 |