diff options
author | Luis R. Rodriguez <mcgrof@suse.com> | 2014-11-01 12:14:02 -0700 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2014-11-14 13:47:16 -0800 |
commit | 78ff3844b956cd8940bcb9a00b8102683325f451 (patch) | |
tree | e8ada8b06ba1bfc8c216cf037c9787d218a86abc /backport/backport-include | |
parent | 195ea9ab4da97ce91b5890880b0e3f11a823486b (diff) |
backports: define C code backport version info using CPTCFG_
In order to help unify the naming scheme for shared
backports versioning information rely on the CPTCFG_
prefix, when integration support gets added that will
translate to the respective CONFIG_BACKPORT_ prefix.
Kconfig opt env entries don't get propagated out, so
we need to define these ourselves. This leaves all
other names in place for packaging and just focuses
on sharing on the C / header code.
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Diffstat (limited to 'backport/backport-include')
-rw-r--r-- | backport/backport-include/linux/module.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backport/backport-include/linux/module.h b/backport/backport-include/linux/module.h index e8f28b1c..8870abb7 100644 --- a/backport/backport-include/linux/module.h +++ b/backport/backport-include/linux/module.h @@ -20,9 +20,9 @@ extern void backport_dependency_symbol(void); #define BACKPORT_MOD_VERSIONS MODULE_VERSION(BACKPORTS_GIT_TRACKED); #else #define BACKPORT_MOD_VERSIONS \ - MODULE_VERSION("backported from " BACKPORTED_KERNEL_NAME \ - " (" BACKPORTED_KERNEL_VERSION ")" \ - " using backports " BACKPORTS_VERSION); + MODULE_VERSION("backported from " CPTCFG_KERNEL_NAME \ + " (" CPTCFG_KERNEL_VERSION ")" \ + " using backports " CPTCFG_VERSION); #endif #ifdef MODULE |