egor duda writes:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 8 Oct 2004 07:46:08 +0000 (07:46 +0000)
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 8 Oct 2004 07:46:08 +0000 (07:46 +0000)
commitf6d0a8e7cb47688ed3786894219b373e87ac8a49
treee81ce57a92acc0653374e1d262039562855d16ec
parent5ba0134aa31b2cd9a11772fcd9e39d722347467e
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

git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
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