Commit Graph

257 Commits

Author SHA1 Message Date
Timothy Gu 681921c815 Increase $(BUILD_PKG) accuracy by checking build rules
This eliminates false-positive with packages with explicit empty build rules
like binutils. gcc is another false-positive, but it is another matter and is
harder to fix.

Also use set_create function from GMSL to make the list sorted and uniq'd.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-29 18:54:05 -07:00
Timothy Gu b7ef1855fc Move up LOOKUP_PKG_RULE
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-29 18:54:05 -07:00
Timothy Gu 5eccb2f4db Move whitespace variables up to where all the other variables are
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-26 11:25:30 -07:00
Tony Theodore a90a7252e2 silence deprecated target name warning for build-requirements 2014-04-22 19:13:17 +10:00
Tony Theodore 89a6f46b21 add requirements for gperf python ruby 2014-04-22 18:21:52 +10:00
Tony Theodore 6d6e255dbf Merge pull request #359 from TimothyGu/temp-rem
Add convenience target clean-junk
2014-04-15 19:46:21 +10:00
Timothy Gu 130116224d Squalch deprecated target name warning for build-requirements
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-11 17:24:36 -07:00
Timothy Gu c155dd7c8d Merge commit 'd3adb06a1383a1454e95d58400c520454a61a716' 2014-04-10 21:41:07 -07:00
Timothy Gu b89c4d4703 Add documentation for default settings.mk
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-10 21:40:27 -07:00
Timothy Gu d3adb06a13 Sort $(MXE_TARGET_LIST) by triplets instead of lib types
Nothing in the Makefile is affected else than the generation of default
settings.mk.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-04-09 18:22:15 -07:00
Timothy Gu 6a099a0403 Add convenience target clean-junk
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-03-26 19:15:15 -07:00
Timothy Gu 8d877bdc75 Always symlink to log/PKG_TARGET
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-03-20 19:59:40 -07:00
Timothy Gu 99aea29c01 Use tmp-PKG-TARGET as temporary dir
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-03-20 19:59:40 -07:00
Timothy Gu 97402e08de Make download-* targets display "[download] *" instead of log
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-03-10 18:34:19 -07:00
Tony Theodore 0ff238e882 Makefile: add support for make-shared-from-static tool with default args 2014-03-10 13:33:47 +11:00
Tony Theodore 801cda3b53 Makefile: add MXE_VERBOSE variable to echo full logs
closes #309 and resolves #299
2014-02-12 19:41:57 +11:00
Tony Theodore 723241e085 Makefile: speedup LOOKUP_PKG_RULE function
Use gmsl `memoize` function and associative arrays to cache results
2014-02-12 16:00:21 +11:00
Tony Theodore c950f3635c various packages: enable shared builds 2014-02-10 16:33:26 +11:00
Tony Theodore 837ecd6648 Makefile and pkgconf: move external tools separate directory 2014-02-10 02:47:16 +11:00
Tony Theodore 47361fa750 Makefile docs and pkgconf: add support for shared|static variants 2014-02-09 18:34:19 +11:00
Tony Theodore 5a18b2786b Merge pull request #320 from tonytheodore/lookup-pkg-rule
Makefile: refactor lookup of pkg build rules and deps
2014-02-09 03:34:47 +11:00
Tony Theodore 4bba59627e Makefile: refactor lookup of pkg build rules and deps
Introduces a LOOKUP_PKG_RULE function that matches generic rules
from targets specified along the lines of:

triplet.lib-type.debug.treading.exceptions.my.experimental.version

Current build rules will be matched according to the current logic
(pkg-target --> pkg) and future variants can use "targets" as both
functionality determinants and a directory separator for multiple
side-by-side variants.
2014-02-09 00:11:19 +11:00
Tony Theodore 1a9ad29fe6 mxe configury: build native pkgconf and centralise various conf files
Since we need pkgconf for Cflags.private support, it seems like a
logical place for these types of config files instead of being
spread over Makefile, binutils, and gcc.
2014-02-08 23:23:00 +11:00
Tony Theodore 5fd5e9bbec Makefile and docs: add GNU Make Standard Library 2014-02-08 22:43:13 +11:00
Tuukka Pasanen 9fafc0b3fc Add MXE-wide dependency for autopoint to full fill package xine-lib requirements 2014-01-28 16:08:16 +11:00
Tony Theodore e17929f62d Revert "Add MXE_VERBOSE variable"
This reverts commit 56a8b1c202.
2014-01-15 00:46:47 +11:00
Timothy Gu 56a8b1c202 Add MXE_VERBOSE variable
Define to view full and not `tail`'d log if building fails at build time.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-01-02 11:07:45 -08:00
Niels Kristian Bech Jensen b6bde6e9d3 update automake version requirement 2013-12-26 13:30:54 +11:00
Tony Theodore acacfb4e1c Merge branch 'stable'
Conflicts:
	Makefile
2013-12-04 17:22:05 +11:00
Tony Theodore 37c6bfca7a Makefile and docs: require automake 1.12 or later 2013-12-04 17:16:05 +11:00
Timothy Gu d915ffa01f Add update-package-% target 2013-11-29 14:37:25 -08:00
Tony Theodore 6051122254 Makefile: allow bypassing check-requirements 2013-10-19 22:58:11 +11:00
Tony Theodore f488a011f1 Makefile: fix config.guess install 2013-09-12 17:28:51 +10:00
Tony Theodore bc6104ccca Makefile: move config.guess install from binutils 2013-09-12 17:25:13 +10:00
Tony Theodore 283449db45 Makefile: don't exit on failed download (failed checksum will exit) 2013-09-08 00:07:59 +10:00
Tony Theodore cd9425517b Makefile: add explicit failed download message 2013-08-27 19:04:33 +10:00
Tony Theodore 368150f334 Makefile: use cut instead of sed for env var list 2013-08-27 18:42:27 +10:00
Tony Theodore 35b8cdb8ad Makefile: add proxies to env whitelist 2013-08-27 18:18:13 +10:00
Tony Theodore e42592bb78 Makefile: remove extraneous backslash 2013-08-26 01:00:43 +10:00
Tony Theodore 82edf6dda8 Makefile: add build-requirements goal for optional native builds 2013-08-25 21:34:27 +10:00
Tony Theodore 6ab49b639e Merge pull request #228 from tonytheodore/deps
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
2013-08-25 03:09:10 -07:00
Tony Theodore 58351a7b23 Makefile: remove TARGET dependencies on BUILD - keep optional for time being 2013-08-25 19:43:42 +10:00
Tony Theodore 08647cc045 Makefile: add BUILD variable and add to target loop and PATH 2013-08-25 19:06:40 +10:00
Tony Theodore 143ae3c63f Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality 2013-08-21 01:18:34 +10:00
Tony Theodore 87cf91e5e1 Makefile: use a minimal whitelist of env vars 2013-08-12 16:08:55 +10:00
Tony Theodore 14cf095b76 Makefile: create marker directories so --touch works on clean tree 2013-08-08 18:15:28 +10:00
Tony Theodore 16a27abaf0 Makefile: add missing separator to find command 2013-08-07 21:20:17 +10:00
Tony Theodore 8982ac6b9e Makefile: add settings.mk to failed log output 2013-08-07 20:50:44 +10:00
Tony Theodore d6a0b0a47b Makefile: unexport various *TARGET* variables 2013-08-07 20:23:37 +10:00
Tony Theodore 641c765f31 Makefile: add target-specific dependencies to download-foo rules also 2013-08-06 22:51:16 +10:00