Timothy Gu
8d877bdc75
Always symlink to log/PKG_TARGET
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
99aea29c01
Use tmp-PKG-TARGET as temporary dir
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
10 years ago
Timothy Gu
97402e08de
Make download-* targets display "[download] *" instead of log
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Tony Theodore
0ff238e882
Makefile: add support for make-shared-from-static tool with default args
11 years ago
Tony Theodore
801cda3b53
Makefile: add MXE_VERBOSE variable to echo full logs
...
closes #309 and resolves #299
11 years ago
Tony Theodore
723241e085
Makefile: speedup LOOKUP_PKG_RULE function
...
Use gmsl `memoize` function and associative arrays to cache results
11 years ago
Tony Theodore
c950f3635c
various packages: enable shared builds
11 years ago
Tony Theodore
837ecd6648
Makefile and pkgconf: move external tools separate directory
11 years ago
Tony Theodore
47361fa750
Makefile docs and pkgconf: add support for shared|static variants
11 years ago
Tony Theodore
5a18b2786b
Merge pull request #320 from tonytheodore/lookup-pkg-rule
...
Makefile: refactor lookup of pkg build rules and deps
11 years ago
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.
11 years ago
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.
11 years ago
Tony Theodore
5fd5e9bbec
Makefile and docs: add GNU Make Standard Library
11 years ago
Tuukka Pasanen
9fafc0b3fc
Add MXE-wide dependency for autopoint to full fill package xine-lib requirements
11 years ago
Tony Theodore
e17929f62d
Revert "Add MXE_VERBOSE variable"
...
This reverts commit 56a8b1c202
.
11 years ago
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>
11 years ago
Niels Kristian Bech Jensen
b6bde6e9d3
update automake version requirement
11 years ago
Tony Theodore
acacfb4e1c
Merge branch 'stable'
...
Conflicts:
Makefile
11 years ago
Tony Theodore
37c6bfca7a
Makefile and docs: require automake 1.12 or later
11 years ago
Timothy Gu
d915ffa01f
Add update-package-% target
11 years ago
Tony Theodore
6051122254
Makefile: allow bypassing check-requirements
11 years ago
Tony Theodore
f488a011f1
Makefile: fix config.guess install
11 years ago
Tony Theodore
bc6104ccca
Makefile: move config.guess install from binutils
11 years ago
Tony Theodore
283449db45
Makefile: don't exit on failed download (failed checksum will exit)
11 years ago
Tony Theodore
cd9425517b
Makefile: add explicit failed download message
11 years ago
Tony Theodore
368150f334
Makefile: use cut instead of sed for env var list
11 years ago
Tony Theodore
35b8cdb8ad
Makefile: add proxies to env whitelist
11 years ago
Tony Theodore
e42592bb78
Makefile: remove extraneous backslash
11 years ago
Tony Theodore
82edf6dda8
Makefile: add build-requirements goal for optional native builds
11 years ago
Tony Theodore
6ab49b639e
Merge pull request #228 from tonytheodore/deps
...
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
11 years ago
Tony Theodore
58351a7b23
Makefile: remove TARGET dependencies on BUILD - keep optional for time being
11 years ago
Tony Theodore
08647cc045
Makefile: add BUILD variable and add to target loop and PATH
11 years ago
Tony Theodore
143ae3c63f
Makefile and docs: add EXCLUDE_PKGS and show*deps* functionality
11 years ago
Tony Theodore
87cf91e5e1
Makefile: use a minimal whitelist of env vars
11 years ago
Tony Theodore
14cf095b76
Makefile: create marker directories so --touch works on clean tree
11 years ago
Tony Theodore
16a27abaf0
Makefile: add missing separator to find command
11 years ago
Tony Theodore
8982ac6b9e
Makefile: add settings.mk to failed log output
11 years ago
Tony Theodore
d6a0b0a47b
Makefile: unexport various *TARGET* variables
11 years ago
Tony Theodore
641c765f31
Makefile: add target-specific dependencies to download-foo rules also
11 years ago
Tony Theodore
5fa97e7eed
Makefile: add target-specific dependencies
11 years ago
Tony Theodore
4bc0f0f924
remove optional native builds for autoconf automake cmake libtool
...
these need more testing and proper multi-target support
11 years ago
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)
11 years ago
Volker Grabsch
4419187a68
Replace unneeded "*-package" IDs in the docs
11 years ago
Tony Theodore
2b8d7eaf67
add optional native automake and autoconf
11 years ago
Tony Theodore
b009e1f19f
Makefile: log OSX software version
11 years ago
Tony Theodore
cc718d702a
Makefile and docs: remove yasm requirement
11 years ago
Tony Theodore
54fa3a4e0f
Makefile: add extra logging details
11 years ago
Tony Theodore
b7243e09a1
Makefile: add $(DATE) portability variable
11 years ago
Tony Theodore
8e7faf84df
Makefile: add MXE_TARGET_LIST variable
11 years ago
Tony Theodore
dff8750125
Makefile: add new DEFAULT_MAX_JOBS variable
11 years ago