Commit Graph

13 Commits

Author SHA1 Message Date
Peter Korsgaard
e7b38c71ce package: add STAMP_DIR and use for host builds
Move stamp (dependency) files outside the (version specific) source
directories, so other packages can hardcode dependencies on them instead
of having to use <PACKAGE>_VERSION variables.

This is important as the variables in the make rules are evaluated when
the rules is seen, which might be before the dependent makefile is parsed
(and hence <PACKAGE>_VERSION variable is known, screwing up stuff.

The downside of this is that the package isn't automatically rebuilt
when the version changes (E.G. by a svn update) and you now also have to
remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
2009-03-19 11:06:47 +00:00
Peter Korsgaard
bd07d92aad Makefile: introduce $(HOST_DIR) for host binaries
Add HOST_DIR directory handling. HOST_DIR should be used just like
STAGING_DIR, but for host files instead of target ones.
2009-03-16 15:48:43 +00:00
Peter Korsgaard
43af3d3578 buildroot: add QUIET variable and use it for wget/git/svn/configure
A lot of tools take a -q option to be quiet.
Set this if make is called with the -s (silent) option and use for
wget, git, svn and configure.
2008-10-21 08:56:26 +00:00
Peter Korsgaard
94b3420da9 project/Makefile.in: workaround issue with out-of-tree builds
Other packages might also support Linux-style out of tree builds
with the O=<dir> syntax (E.G. Busybox does). As make automatically
forwards command line variable definitions those packages get very
confused. Fix this by telling make to not do so
2008-09-26 14:04:08 +00:00
Peter Korsgaard
e3556c8862 Makefile: support relative paths for out of tree builds
And complain if the output directory cannot be created.
2008-09-16 20:53:45 +00:00
Peter Korsgaard
0732b8cc84 buildroot: support out-of-tree builds
Add support and documentation for out-of-tree builds with syntax
like the Linux kernel (make O=<dir>).
2008-08-31 20:23:47 +00:00
Bernhard Reutner-Fischer
96144062db - add a SVN_UP command for updating an already checked-out tree 2007-09-19 20:24:01 +00:00
Ulf Samuelsson
a597f0d757 Move VENDOR dbg to correct Makefile 2007-09-17 13:17:13 +00:00
Ulf Samuelsson
b7f4dca04c Add debug info 2007-09-17 12:43:40 +00:00
Ulf Samuelsson
1f1faff85a Move VENDOR stuff to project 2007-08-24 05:27:17 +00:00
Bernhard Reutner-Fischer
1dbe6e3396 - our dependencies are project specific. First (untested) attempt to take this fact into account.
Will need to try to copy eventual pre-existing project-specific deps back
  to package/config in order not to mess up the corresponding timestamps (to avoid superfluous rebuilds)..
2007-08-21 17:56:47 +00:00
Bernhard Reutner-Fischer
1e3c369df8 - move the PROJECT variable setting to a more sensible place 2007-08-21 17:14:56 +00:00
Ulf Samuelsson
f958d89724 Move project related info from main Makefile to project dir 2007-08-14 07:45:01 +00:00