buildroot/scripts
Yann E. MORIN aefad5317f Makefile: generate a Makefile wrapper in $(O)
If building out-of-tree, add a Makefile wrapper that calls-out to the real
Makefile with proper args.

Avoids having to pass -C and O= every time we call make.

This is highly inspired from how the Linux kernel does it, and portions of
it have been used. We can't use exactly the same implementation as the
kernel does, because:

 - the script writing the wrapper has been expunged of the few lines
   that were too kernel-related: in buildroot we do not need the version
   string in the wrapper, and we do not have a patchlevel version;

 - "in-tree build" does not have the same meaning for the kernel and for
   buildroot: for the kernel, $(O) point to the $(TOPDIR), while for
   buildroot $(O) points to $(TOPDIR)/output.

For more complete explanations, see:
  http://lists.busybox.net/pipermail/buildroot/2010-September/037815.html

[Peter: minor tweaks]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 23:47:07 +02:00
..
test fakeroot: remove all references to BR2_HOST_FAKEROOT 2010-04-09 11:04:33 +02:00
add_new_package.wizard scripts/package wizard: clarify the steps after the wizard 2009-05-03 22:24:36 +02:00
build-ext3-img some enhancements to the build-ext3-img script 2008-05-01 15:21:47 +00:00
buildall.sh lzma: remove 'target' from lzma package name 2009-10-26 21:38:49 +01:00
copy.sh scripts: force copy of files to erase already present and readonly files 2010-05-02 09:33:25 +02:00
create_ipkgs some buildroot helper scripts 2008-03-06 17:52:37 +00:00
get_linux_config.sh get_linux_config.sh: sets THIS_MINOR to 0 if not valid. 2010-02-17 11:18:17 +01:00
graph-depends New graph-depends script 2010-05-21 15:16:48 +02:00
mkmakefile Makefile: generate a Makefile wrapper in $(O) 2010-09-26 23:47:07 +02:00
mkpkg Update verification scripts and status for ARM build 2009-01-25 23:09:12 +00:00
pkg-stats Improvements to the package conversion status script 2010-07-26 22:48:41 +02:00
setlocalversion scripts/setlocalversion: Renamed 'git-svn' to 'git svn' 2009-03-26 20:47:38 +00:00
testheader.inc Create a log file as well as stdout during test 2009-02-02 07:18:19 +00:00