diff options
author | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
commit | 0200baa675d3b51c0f021da7728353ee7ceedba4 (patch) | |
tree | 2c60bea606dc2d2f0976f158de977c1babd0384a /archival | |
parent | a4bb355732f2902b936368b644fa08518ecce55a (diff) | |
download | busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.gz busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.bz2 busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.zip |
build system: avoid full rebuild when EXTRAVERSION changes
The last two commits allow EXTRAVERSION to track the current state
of a git repository. The build system was unable to determine
which files were affected by changes to EXTRAVERSION and caused
a full rebuild when it changed.
Alter how the version information is passed to the code so only
a handful of files need to be rebuilt when it changes.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c index bb82560b8..23ea02b5d 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -119,6 +119,9 @@ | |||
119 | #include "libbb.h" | 119 | #include "libbb.h" |
120 | #include "common_bufsiz.h" | 120 | #include "common_bufsiz.h" |
121 | #include "bb_archive.h" | 121 | #include "bb_archive.h" |
122 | #if ENABLE_PLATFORM_MINGW32 | ||
123 | # include "BB_VER.h" | ||
124 | #endif | ||
122 | /* FIXME: Stop using this non-standard feature */ | 125 | /* FIXME: Stop using this non-standard feature */ |
123 | #ifndef FNM_LEADING_DIR | 126 | #ifndef FNM_LEADING_DIR |
124 | # define FNM_LEADING_DIR 0 | 127 | # define FNM_LEADING_DIR 0 |