summaryrefslogtreecommitdiff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' into mergeRon Yorston2014-05-063-3/+6
|\ | | | | | | | | | | | | Conflicts: debianutils/which.c editors/vi.c libbb/executable.c
| * trylink: emit names of linked executablesDenys Vlasenko2014-05-041-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe-small: fix help messages for aliased module-related appletsDenys Vlasenko2014-04-191-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: specify '-nostldlib' when linking to .o filesDrew Moseley2014-04-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For certain cross build scenarios the LD variable is overridden to use the gcc executive to ensure all the target tuning parameters are used. In these cases, the executive errors out as shown below but since this step is only linking to a .o file the standard libs are not needed. $ make LD=gcc applets/built-in.o LD applets/built-in.o /usr/bin/ld: cannot find -lgcc_s /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make[1]: *** [applets/built-in.o] Error 1 make: *** [applets_dir] Error 2 Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: for "find", use POSIX not operator (!) instead of -notDenys Vlasenko2014-03-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2014-01-133-4/+14
|\| | | | | | | | | | | Conflicts: include/platform.h scripts/basic/fixdep.c
| * build system: fix non-portable sed constructs.Matthias Andree2014-01-101-2/+12
| | | | | | | | | | | | | | | | This includes proper line breaks for labels and closing braces, and removing non-portable \n and \t in s/// functions. Signed-off-by: Matthias Andree <matthias.andree@gmx.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: stop including alloca.h, stdlib.h provides itDenys Vlasenko2014-01-092-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2014-01-025-9/+16
|\| | | | | | | | | | | Conflicts: archival/Config.src shell/ash.c
| * fix failures found by randomconfig buildsDenys Vlasenko2013-12-311-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: fix make gconfigDaniel Borca2013-12-191-1/+1
| | | | | | | | | | | | | | Was getting "undefined reference to symbol 'dlsym@@GLIBC_2.2.5'". Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: use od -b instead of od -t x1Denys Vlasenko2013-11-261-2/+2
| | | | | | | | | | | | od -t is not available in non-CONFIG_DESKTOPed busybox od Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bloat-o-meter: add usage infoBartosz Golaszewski2013-10-161-3/+8
| | | | | | | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * trylink: only prefix libs with -lMike Frysinger2013-09-281-3/+3
| | | | | | | | | | | | | | | | | | If our pkg-config queries pass back a flag like -pthread, the trylink script will expand that to -l-pthread. So change trylink to only add the -l prefix to a value that doesn't have a - prefix already. Reported-by: thaehaid@incognitomail.org Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'busybox' into mergeRon Yorston2013-08-271-4/+20
|\|
| * buildsys: Add helper to list suid appletsBernhard Reutner-Fischer2013-07-261-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Add a helper script that lists all applets that - do or may require SUID provileges (busybox.cfg.suid) - do not require SUID provileges (busybox.cfg.nosuid) Some setups prefer to build two busybox binaries, one that is suid which contains all applets that do or may require suid privileges, and a second one for all the rest (which drops suid). To ease splitting these two binaries, generate a list of CONFIG_ items for the suid binary. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-10-101-5/+11
|\|
| * scripts/kconfig/mconf: work on systems w/o SIGWINCHDenys Vlasenko2012-09-271-5/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-09-071-0/+2
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * build system: fix build of kconfig on DarwinBernhard Walle2012-06-181-0/+2
| | | | | | | | | | | | | | | | | | Of course busybox cannot be used on Darwin (Mac OS X), but it can be cross-compiled for Linux there. Cross-compilation still requires kconfig to be built as native host tool. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '1_20_0' into mergeRon Yorston2012-04-232-19/+16
|\|
| * fix build breakage found by randconfigDenys Vlasenko2012-04-201-3/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bloat-o-meter: Remove unused codeBernhard Reutner-Fischer2012-03-301-15/+6
| | | | | | | | | | | | | | The regex matching is way slower, so remove it since it was disabled anyway. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * bloat-o-meter: handle huge (hex) sizes.Bernhard Reutner-Fischer2012-03-301-1/+1
| | | | | | | | | | | | | | dynamic symbols with size >99999 are printed in hex. see print_vma(psym->st_size, DEC_5) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Put defconfig is the correct place, update README.win32Ron Yorston2012-03-262-1974/+0
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-03-232-3/+12
|\| | | | | | | | | Conflicts: Makefile.flags
| * gen_build_files.sh: exclude hidden directoriesPaulius Zaleckas2012-01-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am using quilt to manage patches internally. Quilt creates dir .pc and stores unmodified files there. Since I made change in one of Config.src quilt made a copy in .pc/xxx.patch/xxx/Config.src. When I run make it calls gen_build_files.sh and it generates .pc/xxx.patch/xxx/Config.in. Now when I want to pop patch quilt thinks I have made changes to original xxx/Config.in. IMO the best solution is just to ignore hidden directories in gen_build_files.sh. This also results in shorter build time in case busybox is under git/svn versioning, since it avoids searching many directories for Config.src. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'c0cae52662ccced9df19f19ec94238d1b1e3bd71' into mergeRon Yorston2012-03-234-43/+39
|\| | | | | | | | | | | Conflicts: Makefile.flags scripts/basic/fixdep.c
| * gen_build_files.sh: simplify "print everything up to INSERT line" partDenys Vlasenko2011-10-191-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * gen_build_files: don't pass 200k+ strings as params. Closes 4321Denys Vlasenko2011-10-191-33/+23
| | | | | | | | | | | | Also removes one grep per generated file. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * suppress "warning: implicit declaration of function 'alloca'"Denys Vlasenko2011-09-152-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into mergeRon Yorston2012-03-223-16/+20
|\| | | | | | | | | Conflicts: include/platform.h
| * bloat-o-meter: don't require that pythin is in /usr/bin.Lauri Kasanen2011-07-081-2/+2
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Support configuring Busybox from _defconfig filesDaniel Fandrich2011-07-081-1/+1
| | | | | | | | | | | | | | | | | | The existing test .config files are moved to configs/ and renamed to *_defconfig. 'make xyz_defconfig' will enable the configuration in that specific file. Signed-off-by: Daniel Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-221-10/+12
|\| | | | | | | | | Conflicts: procps/ps.c
* | Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into mergeRon Yorston2012-03-224-15/+10
|\| | | | | | | | | | | | | Conflicts: coreutils/ls.c include/platform.h libbb/bb_basename.c
| * pam link error with SHARED_BUSYBOX and LIBBUSYBOX enabledSteve Iribarne2011-05-091-0/+1
| | | | | | | | | | Signed-off-by: Steve Iribarne <siribarne@grid-net.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * get rid of several "variable 'x' set but not used" warningsCristian Ionescu-Idbohrn2011-05-012-14/+5
| | | | | | | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into mergeRon Yorston2012-03-226-7/+18
|\|
| * build fixes for scripts/kconfigDenys Vlasenko2011-04-182-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix another nonportable grep usage in scriptsDenys Vlasenko2011-04-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * gen_build_files.sh: do not use "sed --" for nowDenys Vlasenko2011-04-161-4/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Fix double words in comments. No code changesMarek Polacek2011-04-161-1/+1
| | | | | | | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-222-13/+25
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * fix bit rot in scripts/Makefile.IMA #2Denys Vlasenko2011-03-061-9/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix bit rot in scripts/Makefile.IMADenys Vlasenko2011-03-061-1/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'da4441c44f6efccb6f7b7588404d9c6bfb7b6af8' into mergeRon Yorston2012-03-223-4/+9
|\| | | | | | | | | | | | | Conflicts: libbb/vfork_daemon_rexec.c networking/wget.c procps/ps.c
| * scripts/mkconfigs: don't use invalid basic regexpDenys Vlasenko2011-02-091-1/+1
| | | | | | | | | | | | \? are GNU extension and thus are non-standard Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/kconfig/mconf.c: stop-gap fix for buffer overflowDenys Vlasenko2011-02-071-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-211-2/+3
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c