hush/scripts
Drew Moseley 7537406edd build system: specify '-nostldlib' when linking to .o files
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>
2014-04-02 12:12:46 +02:00
..
basic build system: stop including alloca.h, stdlib.h provides it 2014-01-09 11:02:46 +01:00
kconfig build system: fix make gconfig 2013-12-19 04:43:24 +01:00
bb_release scripts/bb_release: release script (I nearly lost it last time) 2008-03-21 09:56:19 +00:00
bloat-o-meter bloat-o-meter: add usage info 2013-10-16 19:18:05 +02:00
checkhelp.awk whitespace fixes 2010-01-25 13:39:24 +01:00
checkstack.pl attack the biggest stack users: 2007-12-02 08:35:37 +00:00
cleanup_printf2puts typo fix 2010-11-06 22:17:30 +01:00
echo.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
find_bad_common_bufsiz Audit bb_common_bufsiz usage, add script which looks for misuse. 2007-06-04 10:16:52 +00:00
find_stray_common_vars make variables static 2007-09-27 10:08:02 +00:00
find_stray_empty_lines find_stray_empty_lines: make it work 2010-07-28 21:29:19 +02:00
fix_ws.sh whitespace fixes 2008-07-12 23:02:43 +00:00
gcc-version.sh disable -Wold-style-definition for gcc 3.x 2007-01-29 17:08:51 +00:00
gen_build_files.sh build system: for "find", use POSIX not operator (!) instead of -not 2014-03-16 12:05:58 +01:00
Kbuild.include - need to pass the PATH down to the gcc-version check to be able to find the correct cc. 2007-06-25 10:41:01 +00:00
Kbuild.src mass renaming Kbuild -> Kbuild.src, Config.in -> Config.src 2010-06-04 20:10:51 +02:00
Makefile.build build system: specify '-nostldlib' when linking to .o files 2014-04-02 12:12:46 +02:00
Makefile.clean scripts/Makefile.clean: Make Kbuild and Makefile optional 2010-05-16 02:50:07 +02:00
Makefile.host *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
Makefile.IMA fix bit rot in scripts/Makefile.IMA #2 2011-03-06 23:48:24 +01:00
Makefile.lib *: trailing empty lines removed 2010-07-26 01:49:12 +02:00
memusage scripts: add a script which prints memory map of running busybox 2008-05-26 18:41:35 +00:00
mkconfigs build system: use od -b instead of od -t x1 2013-11-26 14:56:29 +01:00
mkdiff_obj scripts/mkdiff_obj: show "size OBJFILE" too 2010-10-29 19:06:20 +02:00
mkdiff_obj_bloat *: a few more NOINLINEs 2009-10-08 14:35:37 +02:00
mkmakefile mkmakefile: make 3.82 fix 2010-10-19 12:49:51 +02:00
objsizes ...and exclude LC_ALL too 2008-12-01 12:38:36 +00:00
randomtest fix failures found by randomconfig builds 2013-12-31 23:22:36 +01:00
randomtest.loop fix build breakage found by randconfig 2012-04-20 14:48:00 +02:00
sample_pmap scripts: add a script which prints memory map of running busybox 2008-05-26 18:41:35 +00:00
showasm *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test_make_clean remove defconfig. Now "make defconfig" simply uses defaults from Config.in 2010-06-06 04:14:28 +02:00
test_make_O fix make O=dir build 2010-07-09 01:25:36 +02:00
trylink trylink: only prefix libs with -l 2013-09-28 18:40:07 -04:00