up: adding option to build for UP platform only
Adding cmake option to build for UP platform only: -DMRAAPLATFORMFORCE=MRAA_UP Signed-off-by: Dan O'Donovan <dan@emutex.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
f9501c5c78
commit
2b73083955
@@ -124,6 +124,8 @@ mraa_x86_platform()
|
||||
plat = mraa_intel_sofia_3gr();
|
||||
#elif defined(xMRAA_INTEL_CHERRYHILLS)
|
||||
plat = mraa_intel_cherryhills();
|
||||
#elif defined(xMRAA_UP)
|
||||
plat = mraa_up_board();
|
||||
#else
|
||||
#error "Not using a valid platform value from mraa_platform_t - cannot compile"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user