Rob Landley
da60b9b163
Fix two bugs reported by Ashwini Sharma.
2014-02-28 23:04:57 -06:00
Rob Landley
86cafe1fde
Replace python help converter with C implementation.
2014-01-03 18:23:09 -06:00
Rob Landley
ebe6af6d01
distclean was missing singleconfig.old.
2013-11-10 15:58:03 -06:00
Rob Landley
207cadacd3
Switch flag generation from shell to C.
...
This should actually generate FLAG_longopt 0 #defines for disabled bare
longopts (ala ls without --color). Put temporary executables under "generated"
(including instlist for install).
2013-10-03 03:18:00 -05:00
Rob Landley
d04dc1feb9
Add scripts/single.sh to build individual non-multiplexed standalone commands.
...
Alas, you can't quite do this yet:
make defconfig
make
for i in $(./toybox)
do
echo $i
PREFIX=singles/ scripts/single.sh $i || break
done
Because the OLDTOY() aliases for commands won't build without the base command.
And I can't just skip them because chown/chmod or mv/cp aren't the same thing.
2013-08-30 01:53:31 -05:00
Rob Landley
dd2d239302
More grep cleanup, and make OPTSTR_command macros for use with OLDTOY()
2013-08-12 01:48:27 -05:00
Rob Landley
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
2012-08-25 14:25:22 -05:00
Rob Landley
97abd4a981
Replace CCFLAGS with description of how to add flags to HOSTCC.
2012-06-18 23:23:24 -05:00
Rob Landley
f2e61cb1bb
Now that generated/Config.probed is its own file, add it to build dependencies.
2012-02-28 06:34:35 -06:00
Rob Landley
7a4551ff5e
Replace GPL python debug script with BSD shell script.
2012-02-21 21:27:10 -06:00
Rob Landley
fcf188ffdb
Set HOSTCC only if it isn't already set as an environment variable.
2012-02-19 22:21:45 -06:00
Rob Landley
09e8bde9f2
Add a basic README and an example to "make help".
2012-02-04 12:20:39 -06:00
Rob Landley
27f5779a7a
Add autodetect for container support.
2012-02-03 23:16:28 -06:00
Rob Landley
e614ee1e1d
Fix "make help".
2011-12-28 16:17:13 -06:00
Rob Landley
36816221d5
Regenerate Config.in when toys/*.c changes.
2009-03-28 23:24:42 -05:00
Rob Landley
87df5f6832
Try to convince make to be less stupid about rebuilding.
2008-05-04 16:20:15 -05:00
Rob Landley
09c13c9cf3
Wow is make stupid. (Ahem, full of "magic, implicit rules". Which are stupid.)
...
The directory scripts/test is not related to the script scripts/test.sh. If
the shell script is newer than the directory, IT DOESN'T MATTER.
2008-03-29 17:25:28 -05:00
Rob Landley
9d243a2efc
Update help, move test.sh to scripts, and fix "make test" to call right script.
2008-03-28 00:44:44 -05:00
Rob Landley
bf081b9b50
Add uninstall and uninstall_flat.
2008-03-28 00:40:57 -05:00
Rob Landley
05fbd1e2b4
Add install target, and make install_flat use scripts/install.sh
2008-03-28 00:09:31 -05:00
Rob Landley
7a585c67ec
Don't delete testdir after running test.sh. Add it to make clean instead.
2008-02-23 15:02:11 -06:00
Rob Landley
58c850894e
Yet more build dependency tweaks...
2008-02-17 16:19:52 -06:00
Rob Landley
5c010f7e44
Might as well make the dependencies slightly more paranoid.
...
(The only reason to have dependencies at all is so "make install" doesn't
trigger a rebuild. A rebuild is always a build all anyway.)
2008-01-22 19:20:06 -06:00
Rob Landley
41cb696013
Hit makefile dependencies so install step doesn't rebuild toybox.
2008-01-21 14:47:08 -06:00
Rob Landley
b1aaba1fc8
Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()
...
macros in each C file, and making generated/globals.h from that. Rename
"toy" to "this" along the way to avoid toy/toys confusion.
2008-01-20 17:25:44 -06:00
Rob Landley
55928b1e0a
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
2008-01-19 17:43:27 -06:00
Rob Landley
2896480c49
Zap toys/Config.in and instead create generated/Config.in from contents of
...
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also
convert more of Makefile into a thin wrapper around shell scripts that actually
do the work. (Makefile is only still there for the user interface.)
2008-01-19 17:08:39 -06:00
Rob Landley
58ecc3e589
Move some generated files into the "generated" subdirectory.
2008-01-10 14:40:13 -06:00
Rob Landley
ea6387aed2
Add some more .PHONY targets.
2007-12-09 15:32:07 -06:00
Rob Landley
f7bb55bb14
Add a comment about a case that made me stop and think.
2007-11-27 01:44:27 -06:00
Charlie Shepherd
d213bc2a86
Rebuild toybox when a header file changes
2007-11-25 16:54:29 +00:00
Charlie Shepherd
6d15f37cd9
Make toybox_unstripped depend upon toys/help.h (so it will be rebuilt when toys/Config.in is updated)
2007-11-10 08:54:22 +00:00
Rob Landley
ce8aae448a
Patch fromm Roberto Foglietta: distclean should remove toys/help.h
2007-11-12 19:24:52 -06:00
Rob Landley
064d1b1e5d
Move toybox_old delete (for bloatcheck) from clean to distclean.
2007-11-06 00:35:26 -06:00
Rob Landley
34d4ce7d07
Move optimizer flags to OPTIMIZE, so "make CC=tcc OPTIMIZE=" is an option.
2007-09-04 23:02:58 -05:00
Rob Landley
7ecedea509
Add "help" command. (Building help/help.h requires python, but I'll ship
...
that file with release versions.)
2007-08-29 08:10:01 -05:00
Rob Landley
e35f2b8312
Fix makefile to defconfig properly, and leak in a bit of the new test
...
infrastructure so I don't have to revert it to check this in. :)
2007-06-18 01:09:00 -04:00
Rob Landley
171af61b28
More cross compiling infrastructure.
2007-06-07 15:19:00 -04:00
Rob Landley
30d79a1411
Make it easier to specify which compiler to use.
2007-05-29 16:26:47 -04:00
Rob Landley
6126b258dc
Convert HOST_CC to HOSTCC to be more like uClibc build.
2007-03-12 21:17:01 -04:00
Rob Landley
2aa494dcfe
MacOS X has a defective sed with no -r.
2007-02-13 16:41:51 -05:00
Rob Landley
fd1c5ba0cb
Teach build to build only the toys/*.c selected in .config, and teach
...
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never
actually used uninitialized because gcc is stupid" warnings.
2007-02-03 14:10:00 -05:00
Rob Landley
edee7ddeb5
Missing comma, and slight simplification in defconfig sed invocation.
2007-01-31 15:23:21 -05:00
Rob Landley
de05a7024f
Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
2007-01-31 14:37:01 -05:00
Rob Landley
bcfad87218
Add make install_flat.
2007-01-31 14:18:05 -05:00
Rob Landley
17afeba960
Blah. The sed filter's not right, I'll try again later.
2007-01-04 17:26:30 -05:00
Rob Landley
e2f796cb70
Make some of gcc 4.1's dumber warnings go away.
2006-12-31 19:09:42 -05:00
Rob Landley
78b47ff751
Teach clean and distclean to zap more files.
2006-11-26 18:54:03 -05:00
Rob Landley
cd2edfd6a1
Add bloat-o-meter, make bloatcheck, and scripts/showasm.
2006-11-26 18:47:14 -05:00
Rob Landley
61a9cc57e7
Reduce flag duplication and make kconfig use HOST_CC.
2006-11-26 17:18:29 -05:00