[Toybox] Did I mention why I didn't implement out of tree build?
Rob Landley
rob at landley.net
Fri Nov 8 18:29:07 PST 2019
Because cp -s exists and works.
git clone https://github.com/landley/toybox
cp -sr $PWD/toybox walrus
cd walrus
make distclean defconfig toybox
In theory if you're using toybox cp you can use a relative path, which was part
of why I did relative_path but darn it it's STILL broken:
cd ~/toybox
mkdir bang
cd bang
cp -rs ../www/. .
Sea of broken links with extra .. at the start. Grrr.
Sigh, on the todo heap... (It works with absolute paths, which are what all my
scripts still use because the host cp only supports absolute source paths with
-s...)
Rob
More information about the Toybox
mailing list