Commit Graph

246 Commits

Author SHA1 Message Date
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
Tony Theodore 5fa97e7eed Makefile: add target-specific dependencies 2013-08-06 22:30:33 +10:00
Tony Theodore 4bc0f0f924 remove optional native builds for autoconf automake cmake libtool
these need more testing and proper multi-target support
2013-07-26 12:56:28 +10:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Volker Grabsch 4419187a68 Replace unneeded "*-package" IDs in the docs 2013-07-22 00:19:50 +02:00
Tony Theodore 2b8d7eaf67 add optional native automake and autoconf 2013-07-17 13:27:00 +10:00
Tony Theodore b009e1f19f Makefile: log OSX software version 2013-07-14 20:21:19 +10:00
Tony Theodore cc718d702a Makefile and docs: remove yasm requirement 2013-07-13 20:26:42 +10:00
Tony Theodore 54fa3a4e0f Makefile: add extra logging details 2013-07-07 19:36:17 +10:00
Tony Theodore b7243e09a1 Makefile: add $(DATE) portability variable 2013-06-28 00:02:30 +10:00
Tony Theodore 8e7faf84df Makefile: add MXE_TARGET_LIST variable 2013-06-24 00:14:03 +10:00
Tony Theodore dff8750125 Makefile: add new DEFAULT_MAX_JOBS variable 2013-06-19 23:41:59 +10:00