From 038a7c542a9735c976a4638a04863cfa4ad3cb68 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Mon, 24 Apr 2017 16:24:18 -0700 Subject: [PATCH] building.md: Small updates to format for AT Added a bit of formatting to the AT peripheral manager instructions. Signed-off-by: Noel Eck --- docs/building.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/building.md b/docs/building.md index f48887e..6cd2587 100644 --- a/docs/building.md +++ b/docs/building.md @@ -188,15 +188,14 @@ cmake -DRPM=ON -DCMAKE_INSTALL_PREFIX=/usr .. ## Building for the Android Things Peripheralmanager Client Requirements: - Android Things Native Library (https://github.com/androidthings/native-libandroidthings) - Android NDK >= 14b +* Android [Things Native Library](https://github.com/androidthings/native-libandroidthings) +* Android NDK >= 14b -The Android Things Native Library contains a CMake find_package module -(FindAndroidThings.cmake). Make sure the directory containing this module is +The [Things Native Library](https://github.com/androidthings/native-libandroidthings) contains a CMake find_package module +[FindAndroidThings.cmake](https://github.com/androidthings/native-libandroidthings/blob/master/FindAndroidThings.cmake). Make sure the directory containing this module is added to the CMAKE_MODULE_PATH. - Example cmake -DCMAKE_MODULE_PATH=/path/to/native-libandroidthings -NDK r14b +#### NDK r14b ~~~~~~~~~~~~~{.sh} cmake -DBUILDSWIG=OFF -DBUILDARCH=PERIPHERALMAN -DANDROID_TOOLCHAIN_NAME=x86-i686 -DCMAKE_TOOLCHAIN_FILE=/path/to/android-ndk-r14b/build/cmake/android.toolchain.cmake -DCMAKE_MODULE_PATH=/path/to/native-libandroidthings .. ~~~~~~~~~~~~~