fix compile breakage with "make -j"
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Jul 2010 12:28:35 +0000 (14:28 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 3 Jul 2010 12:28:35 +0000 (14:28 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile
libbb/Kbuild.src
libbb/appletlib.c

index 9a82776485d00e7cb8dd8ee2bad29224c504be97..ef7c532b70e1a5008bc2b0d82b24fde29f766271 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -512,6 +512,8 @@ include $(srctree)/Makefile.flags
 include/autoconf.h: .kconfig.d .config $(wildcard $(srctree)/*/*.c) $(wildcard $(srctree)/*/*/*.c) | gen_build_files
        $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
 
+include/usage.h: gen_build_files
+
 else
 # Dummy target needed, because used as prerequisite
 include/autoconf.h: ;
index 29c136ccb3e9d2d3d29eec49fe024d3c305b55a4..cb1f8e9543a2954ebad600300438c2d940c5380e 100644 (file)
@@ -4,6 +4,8 @@
 #
 # Licensed under the GPL v2, see the file LICENSE in this tarball.
 
+libbb/appletlib.o: include/usage_compressed.h
+
 lib-y:=
 
 INSERT
index 58f1a9490bd9fd51d7d64921cdc6f8a050b11b60..6f058bcc80f579990207dc8108354f1082780576 100644 (file)
@@ -65,7 +65,7 @@ static const char usage_messages[] ALIGN1 = UNPACKED_USAGE;
 
 #if ENABLE_FEATURE_COMPRESS_USAGE
 
-static const char packed_usage[] = { PACKED_USAGE };
+static const char packed_usage[] ALIGN1 = { PACKED_USAGE };
 # include "unarchive.h"
 static const char *unpack_usage_messages(void)
 {