diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-26 02:40:08 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-26 02:40:08 +0200 |
commit | 1fcbff2fac490f5665fc1ed13ddad766a8879f3b (patch) | |
tree | eb2de3837812e53b1adf999fc2f01529dc9c0d28 /shell | |
parent | 918f444f9012ca22d696020dff116844400d37d2 (diff) | |
download | busybox-w32-1fcbff2fac490f5665fc1ed13ddad766a8879f3b.tar.gz busybox-w32-1fcbff2fac490f5665fc1ed13ddad766a8879f3b.tar.bz2 busybox-w32-1fcbff2fac490f5665fc1ed13ddad766a8879f3b.zip |
build system: do not rebuild ash and hush on any change to any .c file
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 | ||||
-rw-r--r-- | shell/hush.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1f8f90a09..cfd8154ef 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -50,9 +50,7 @@ | |||
50 | # define CLEAR_RANDOM_T(rnd) ((void)0) | 50 | # define CLEAR_RANDOM_T(rnd) ((void)0) |
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | #define SKIP_definitions 1 | 53 | #include "NUM_APPLETS.h" |
54 | #include "applet_tables.h" | ||
55 | #undef SKIP_definitions | ||
56 | #if NUM_APPLETS == 1 | 54 | #if NUM_APPLETS == 1 |
57 | /* STANDALONE does not make sense, and won't compile */ | 55 | /* STANDALONE does not make sense, and won't compile */ |
58 | # undef CONFIG_FEATURE_SH_STANDALONE | 56 | # undef CONFIG_FEATURE_SH_STANDALONE |
diff --git a/shell/hush.c b/shell/hush.c index e64c923b4..29ff3c442 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -128,9 +128,7 @@ | |||
128 | # define USE_FOR_MMU(...) | 128 | # define USE_FOR_MMU(...) |
129 | #endif | 129 | #endif |
130 | 130 | ||
131 | #define SKIP_definitions 1 | 131 | #include "NUM_APPLETS.h" |
132 | #include "applet_tables.h" | ||
133 | #undef SKIP_definitions | ||
134 | #if NUM_APPLETS == 1 | 132 | #if NUM_APPLETS == 1 |
135 | /* STANDALONE does not make sense, and won't compile */ | 133 | /* STANDALONE does not make sense, and won't compile */ |
136 | # undef CONFIG_FEATURE_SH_STANDALONE | 134 | # undef CONFIG_FEATURE_SH_STANDALONE |