egor duda writes:
authorEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 07:46:08 +0000 (07:46 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 8 Oct 2004 07:46:08 +0000 (07:46 -0000)
commit7daa076d3e24e84ce1f4e9b6133783816575c4c8
treee81ce57a92acc0653374e1d262039562855d16ec
parent2842659cc02233274ca165ffb83a31b161d815cd
egor duda writes:

Hi!

I've created a patch to busybox' build system to allow building it in
separate tree in a manner similar to kbuild from kernel version 2.6.

That is, one runs command like
'make O=/build/some/where/for/specific/target/and/options'
and everything is built in this exact directory, provided that it exists.

I understand that applyingc such invasive changes during 'release
candidates' stage of development is at best unwise. So, i'm currently
asking for comments about this patch, starting from whether such thing
is needed at all to whether it coded properly.

'make check' should work now, and one make creates Makefile in build
directory, so one can run 'make' in build directory after that.

One possible caveat is that if we build in some directory other than
source one, the source directory should be 'distclean'ed first.

egor
66 files changed:
Makefile
Rules.mak
applets/Makefile
applets/Makefile.in
archival/Makefile
archival/Makefile.in
archival/libunarchive/Makefile
archival/libunarchive/Makefile.in
console-tools/Makefile
console-tools/Makefile.in
coreutils/Makefile
coreutils/Makefile.in
coreutils/libcoreutils/Makefile
coreutils/libcoreutils/Makefile.in
debianutils/Makefile
debianutils/Makefile.in
editors/Makefile
editors/Makefile.in
findutils/Makefile
findutils/Makefile.in
init/Makefile
init/Makefile.in
libbb/Makefile
libbb/Makefile.in
libpwdgrp/Makefile
libpwdgrp/Makefile.in
loginutils/Makefile
loginutils/Makefile.in
miscutils/Makefile
miscutils/Makefile.in
modutils/Makefile
modutils/Makefile.in
networking/Makefile
networking/Makefile.in
networking/libiproute/Makefile
networking/libiproute/Makefile.in
networking/udhcp/Makefile
networking/udhcp/Makefile.in
procps/Makefile
procps/Makefile.in
scripts/config/Makefile
shell/Makefile
shell/Makefile.in
sysklogd/Makefile
sysklogd/Makefile.in
testsuite/du/du-h-works
testsuite/du/du-k-works
testsuite/du/du-l-works
testsuite/du/du-m-works
testsuite/du/du-s-works
testsuite/du/du-works
testsuite/head/head-n-works
testsuite/head/head-works
testsuite/ls/ls-1-works
testsuite/ls/ls-h-works
testsuite/ls/ls-l-works
testsuite/ls/ls-s-works
testsuite/runtest
testsuite/sort/sort-n-works
testsuite/sort/sort-r-works
testsuite/sort/sort-works
testsuite/tail/tail-n-works
testsuite/tail/tail-works
testsuite/xargs/xargs-works
util-linux/Makefile
util-linux/Makefile.in