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/Kbuild | |
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/Kbuild')
-rw-r--r-- | drivers/dahdi/Kbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild index e138573..ec881dc 100644 --- a/drivers/dahdi/Kbuild +++ b/drivers/dahdi/Kbuild @@ -76,7 +76,7 @@ CFLAGS_dahdi_dynamic_ethmf.o := -DNEW_SKB_LINEARIZE endif endif -dahdi-objs := dahdi-base.o dahdi-sysfs.o +dahdi-objs := dahdi-base.o dahdi-sysfs.o dahdi-version.o ############################################################################### # Find appropriate ARCH value for VPMADT032 and HPEC binary modules |