aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-09-11 20:50:10 -0500
committerRob Landley <rob@landley.net>2014-09-11 20:50:10 -0500
commit8aa87ab9b4ee68eec75af26d550fbcfb732d660f (patch)
treeecf460c87cedb98168dad84a162cc5ff52d2efff /Makefile
parent09af6a7d3f5076b52a89a4be5cebebdb9c9d00c8 (diff)
downloadtoybox-8aa87ab9b4ee68eec75af26d550fbcfb732d660f.tar.gz
Create a generated/build.sh with a single compiler command line to rebuild the toybox_unstripped binary using the existing generated/*.h files.
This way we can snapshot the generated/*.{h,sh} from a defconfig build into a "shipped" directory or something, and then people can maybe build on crazy crippled environments like pcbsd that haven't got gmake and put bash under /usr/local so none of the #!/scripts can find it. This solves at least part of the "toybox can build with itself but you need to build toybox first to have the tools to run the build scripts" problem. Next up: work out the minimal config to provide the build tools needed to run an actual build. (This should, eventually, include a "make" command if freebsd's kernel is going to refuse to build with netbsd's "make" and we don't just write off the whole thing as crazy. But it probably shouldn't include commands that #include <linux/*.h> if we are trying to make that work.)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1b1826d1..ebedf397 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ uninstall:
scripts/install.sh --long --uninstall
clean::
- rm -rf toybox toybox_unstripped testdir \
+ rm -rf toybox toybox_unstripped testdir generated/build.sh \
.singleconfig .singleconfig.old generated/obj \
generated/Config.* generated/*.h generated/*.dat \
generated/instlist generated/mkflags generated/config2help