Canonize Option flag USE_AUTOMATIC_VERSION

This commit is contained in:
Richard Wackerbarth 2015-08-01 09:57:59 -05:00
parent a8db0aac32
commit 329acc852e
21 changed files with 24 additions and 20 deletions

View File

@ -1,4 +1,4 @@
compiler.cpp.extra_flags=-DHAS_AUTOMATIC_VERSIONING
compiler.cpp.extra_flags=-DUSE_AUTOMATIC_VERSIONING
build.custom_bin.path.macosx=/usr/local/bin/
build.custom_bin.path.linux=
recipe.hooks.prebuild0.pattern={build.custom_bin.path}generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -382,4 +382,8 @@
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME instead
#endif
#ifdef HAS_AUTOMATIC_VERSIONING
#error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
#endif
#endif //SANITYCHECK_H

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
#endif
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#endif

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -43,7 +43,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -63,7 +63,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -42,7 +42,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
// @section info
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#else
#include "Default_Version.h"

View File

@ -38,7 +38,7 @@
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
#endif
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
#if ENABLED(USE_AUTOMATIC_VERSIONING)
#include "_Version.h"
#endif