aboutsummaryrefslogtreecommitdiff
path: root/include/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/version.h')
-rw-r--r--include/version.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/version.h b/include/version.h
index c908bd3013..9f3fbf3de0 100644
--- a/include/version.h
+++ b/include/version.h
@@ -24,11 +24,11 @@
#ifndef __VERSION_H__
#define __VERSION_H__
-#include <timestamp.h>
-
-#ifndef DO_DEPS_ONLY
-#include "generated/version_autogenerated.h"
-#endif
+// Only include:
+// #include "generated/version_autogenerated.h"
+// in files that directly use the version macros:
+// PLAIN_VERSION, U_BOOT_VERSION, CC_VERSION_STRING, LD_VERSION_STRING
+// or U_BOOT_VERSION_STRING
#ifndef CONFIG_IDENT_STRING
#define CONFIG_IDENT_STRING ""