Commit Graph

7 Commits

Author SHA1 Message Date
Ben Hutchings 0ad327058f Fix build rules for userland tools to support cross-building
Pass $(CROSS_COMPILE) or host GNU type through to upstream build rules.

debian/rules.real: Filter tools packages by host arch, not build arch

debian/rules.d/Makefile: Build the tools needed for headers_install in
a separate subdirectory
2016-06-13 02:06:19 +01:00
Ben Hutchings 1138bda5ff Clean up tools build rules
* Rename the make macro from submake to make-tools
* Rename debian/stamps/build to debian/stamps/build-tools
* Build them all under debian/build/build-tools/
2016-03-21 03:14:46 +00:00
Ben Hutchings a5f3e6ab8c Fix setting of installation directory for tools/hv
Add installdir variable that defaults to $(prefix)/$(OUTDIR) as used
in scripts/, but can be set directly in tools/hv which doesn't want
to mirror the source hierarchy.
2016-02-23 00:54:38 +00:00
Ben Hutchings 014aa49511 Makefile.inc, rules.real: Fix conflation of $(DESTDIR) and $(prefix) 2016-02-22 23:39:54 +00:00
Ben Hutchings 6ace6a80c1 Makefile.inc: Add support for wildcards in $(SCRIPTS) and $(DATA)
This can't be done for $(PROGS) as by definition those don't exist
until we build them.
2016-02-22 23:22:10 +00:00
Ben Hutchings 7d90293de3 Adjust VPATH to work for check-hyperv (and simplify the modpost wrapper) 2016-02-21 16:43:40 +00:00
Ben Hutchings 0033746862 Move makefile hierarchy to debian/rules.d; use debian/build for output only
By passing both -C and -f options to make, we can separate makefiles
from the output directory without adding prefixes to all targets.

We can also reduce the 'clean' commands to little more than 'rm -rf'.
2016-02-19 20:24:18 +00:00