aboutsummaryrefslogtreecommitdiff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Revert "lxdialog: fix ncursesw include detection"Mike Frysinger2016-04-031-5/+1
| | | | | | | | | | | | | | | | | | This reverts commit e91bc53d0c2e8de7dc4fbdb888ab0a4923c2b475. Let's get back to a state that matches upstream so we can pull in all of their fixes from the last few years. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * trylink: on failure, print a hint about CONFIG_EXTRA_LDLIBSDenys Vlasenko2016-04-031-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2016-02-221-1/+1
|\|
| * trylink: include LDFLAGS when checking linkageMike Frysinger2015-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | The user might be including options in their LDFLAGS (like -fuse-ld=gold) that change the behavior of the linker and thus change the results of the flag tests. Make sure we include the user's LDFLAGS when running these tests so we filter out flags that will fail when used later on. URL: https://bugs.gentoo.org/499712 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Merge branch 'busybox' into mergeRon Yorston2015-10-311-24/+35
|\|
| * typo fixDenys Vlasenko2015-10-201-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/trylink: remove $CPPFLAGSDenys Vlasenko2015-10-201-3/+3
| | | | | | | | | | | | | | We don't use it in final link, should not use it in check_FOO then. This uncovered a logic bug in glibc check... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * scripts/trylink: fix bit-rotted linker option verificationDenys Vlasenko2015-10-201-24/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To that end, *make it complain* when check_cc fails on options we usually want to succeed. text data bss dec hex filename 929697 932 17692 948321 e7861 busybox-1.23.2/busybox 915361 911 17484 933756 e3f7c busybox-1.23.2.fixed/busybox 927725 932 17448 946105 e6fb9 busybox-1.24.0/busybox 913630 911 17240 931781 e37c5 busybox-1.24.0.fixed/busybox Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2015-10-131-1/+3
|\|
| * randconfig fixesDenys Vlasenko2015-10-111-1/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2015-07-143-5/+3
|\|
| * fix if(p)/free(p) constructManinder Singh2015-06-072-4/+2
| | | | | | | | | | | | | | | | No need of explicit NULL check before free. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixesManinder Singh2015-05-251-1/+1
| | | | | | | | | | Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2015-03-231-6/+6
|\|
| * trylink: respect compiler settings when probing featuresMike Frysinger2015-03-161-2/+2
| | | | | | | | | | | | | | | | The CPPFLAGS/CFLAGS settings might have features that matter, so make sure we utilize them when testing the compiler. URL: https://bugs.gentoo.org/471118 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * trylink: use mktemp instead of hardcoding pathsMike Frysinger2015-03-161-4/+4
| | | | | | | | | | | | | | This way we respect standard tempdir env vars and are guaranteed to be unique. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * trylink: emit names of linked executablesDenys Vlasenko2014-05-031-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | 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>