From ee0b0f2a3ee8b65a4383c6ffa5f14436dfa689bc Mon Sep 17 00:00:00 2001 From: bharathr Date: Mon, 9 Jan 2017 21:36:22 -0800 Subject: [PATCH] Fixed build error in Snapdragon Flight legacy driver mode (partially) --- Makefile | 2 +- ...iver_default.cmake => posix_eaglelegacydriver_default.cmake} | 0 ...river_default.cmake => qurt_eaglelegacydriver_default.cmake} | 0 src/lib/version/version.h | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename cmake/configs/{posix_eagle_legacy_driver_default.cmake => posix_eaglelegacydriver_default.cmake} (100%) rename cmake/configs/{qurt_eagle_legacy_driver_default.cmake => qurt_eaglelegacydriver_default.cmake} (100%) diff --git a/Makefile b/Makefile index e78cf04144..cff033563b 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ broadcast: posix_sitl_broadcast # Multi- config targets. eagle_default: posix_eagle_default qurt_eagle_default -eagle_legacy_default: posix_eagle_legacy_driver_default qurt_eagle_legacy_driver_default +eagle_legacy_default: posix_eaglelegacydriver_default qurt_eaglelegacydriver_default excelsior_default: posix_excelsior_default qurt_excelsior_default # Deprecated config targets. diff --git a/cmake/configs/posix_eagle_legacy_driver_default.cmake b/cmake/configs/posix_eaglelegacydriver_default.cmake similarity index 100% rename from cmake/configs/posix_eagle_legacy_driver_default.cmake rename to cmake/configs/posix_eaglelegacydriver_default.cmake diff --git a/cmake/configs/qurt_eagle_legacy_driver_default.cmake b/cmake/configs/qurt_eaglelegacydriver_default.cmake similarity index 100% rename from cmake/configs/qurt_eagle_legacy_driver_default.cmake rename to cmake/configs/qurt_eaglelegacydriver_default.cmake diff --git a/src/lib/version/version.h b/src/lib/version/version.h index f744e800d9..2059661f40 100644 --- a/src/lib/version/version.h +++ b/src/lib/version/version.h @@ -53,7 +53,7 @@ */ #if defined(CONFIG_ARCH_BOARD_SITL) # define BOARD_NAME "SITL" -#elif defined(CONFIG_ARCH_BOARD_EAGLE) +#elif defined(CONFIG_ARCH_BOARD_EAGLE) || defined(CONFIG_ARCH_BOARD_EAGLELEGACYDRIVER) # define BOARD_NAME "EAGLE" #elif defined(CONFIG_ARCH_BOARD_EXCELSIOR) # define BOARD_NAME "EXCELSIOR"