diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-02-28 14:19:09 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-02-28 14:19:09 +0000 |
commit | fa17ec0a03fffe6e8a3699485306d9c3ea61a5a5 (patch) | |
tree | fcf8a04024756ff020877cbeb63f0dc14ac0752b /drivers/dahdi/dahdi.h | |
parent | 3ccb4aeee7852c9bf85bebf355419cb51abc36ad (diff) |
dahdi: Do not rebuild dahdi-base.c when only updating the version.
This moves the version string into dahdi-version.c that is then linked into
dahdi-base.c and dahdi-sysfs.c. This speeds builds on slow computers since
dahdi-base.c and dahdi-sysfs.c does not need to be rebuilt if only the version
string is changing.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Oron Peled <oron.peled@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9777 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi.h')
-rw-r--r-- | drivers/dahdi/dahdi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi.h b/drivers/dahdi/dahdi.h index 54960dd..92ddbdc 100644 --- a/drivers/dahdi/dahdi.h +++ b/drivers/dahdi/dahdi.h @@ -25,6 +25,7 @@ */ extern int debug; +extern const char *const dahdi_version; int dahdi_register_chardev(struct dahdi_chardev *dev); int dahdi_unregister_chardev(struct dahdi_chardev *dev); |