Private
Public Access
2
0

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:
Dan O'Donovan
2016-02-24 15:03:15 +00:00
committed by Brendan Le Foll
parent f9501c5c78
commit 2b73083955
2 changed files with 4 additions and 0 deletions

View File

@@ -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