Commit Graph

43 Commits

Author SHA1 Message Date
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
Rob Landley
f06af2bef5 Add another warning check and a missing dependency. 2006-11-25 13:32:01 -05:00
Rob Landley
7fc43f7978 Better dependencies, and feed the linker --gc-sections. (Which is not an
substitute for building just the stuff we need, but is easy to do for now.)
2006-11-02 19:50:02 -05:00
Rob Landley
401ae8fe28 Make the config generate gen_config.h with CFG_ and USE() macros.
Add distclean.  Make clean have double colons so the kconfig makefile's
clean matches.
2006-11-01 22:26:25 -05:00
landley
09ea7ac1a2 Implement df. Add -Wall to build and fix up warnings. Add copyright notices.
Add error_msg() and itoa() to library.  Remove argc from globals (since argv is
null terminated), add optflags to globals.
2006-10-30 01:38:00 -05:00
landley
cd9dfc3b7b Next drop of toysh, plus more infratructure. 2006-10-18 18:38:16 -04:00
landley
c56215062c Next snapshot. Tries to grab something out of lib in order to build, I have
an empty "blah.c" in there to make it happy but I'm not checking that in.
2006-09-28 17:18:51 -04:00