Commit graph

106 commits

Author SHA1 Message Date
Oliver Smith
7828c621da
busybox-static-*: update to 1.29.3-r10 2019-01-25 08:37:02 +01:00
Oliver Smith
6e7778f4bd
cross/busybox-static-*: update to 1.29.3-r9 2019-01-18 07:29:57 +01:00
Martijn Braam
093cc7d002 cross/busybox-static-*: update to 1.29.3-r7 2019-01-14 22:48:40 +01:00
Oliver Smith
ab9d05eea6
cross/arch-bin-masquerade: add armv7
Make our distcc+ccache+cross compiling setup work with armv7.
2019-01-10 22:43:13 +01:00
Oliver Smith
f9c6aa17cc
cross/busybox-static-*: update to 1.29.3-r6 2019-01-10 22:26:56 +01:00
Oliver Smith
6225dfa554
cross/musl-*: update to 1.1.20-r3 2019-01-04 21:07:23 +01:00
Oliver Smith
9b4435bcd0
cross/gcc-*: add missing patch file
I forgot to add it with the last commit, sorry for that.
2019-01-03 16:03:55 +01:00
Oliver Smith
81b184522a
cross/gcc-*: update to 8.2.0-r2
[skip ci], as the build takes too long.
2019-01-03 15:57:32 +01:00
Oliver Smith
b682ed3a98
cross/binutils-*: update to 2.31.1-r2 2019-01-03 09:47:29 +01:00
Oliver Smith
ac2730385b
cross/busybox-static-*: update to 1.29.3-r5 2019-01-02 09:07:03 +01:00
Oliver Smith
984476227f
cross/binutils-*: regenerate with pmbootstrap
Changes spaces to tabs in the APKBUILDs, thanks to this fix:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1734

Alpine uses tabs in almost all their APKBUILDs, so we should do it the
same way. [skip ci].
2018-12-31 08:55:09 +01:00
Oliver Smith
14cf39a836
cross/gcc6-{aarch64,armhf}: regenerate with pmbootstrap
Run 'pmbootstrap aportgen gcc6-aarch64 gcc6-armhf' again and commit
the resulting changes, as these packages are meant to be always
auto-generated and therefore in sync with main/gcc6.

This changes the pkgver to 9999, as it was required in main/gcc6 to
avoid conflicts with Alpine's gcc6 package.
2018-12-31 08:45:39 +01:00
Grant Miller
74941fe0d4
Add cross/{binutils,busybox-static,gcc,gcc6,musl}-armv7 (!110)
Generated with:
$ pmbootstrap aportgen binutils-armv7 busybox-static-armv7 gcc-armv7 \
  gcc7-armv7 musl-armv7

[skip ci]
2018-12-22 23:25:26 +01:00
Oliver Smith
15ff816233
cross/binutils-*, cross/musl-*: add armv7
Regenerate these aports, so the test case does not complain anymore
that they are outdated. Adds armv7 to the arch lines, as that is the
aportgen change which was done in pmbootstrap!1730.
2018-12-22 09:29:47 +01:00
Oliver Smith
017376be29
cross/busybox-static-*: update to 1.29.3-r4 2018-12-10 07:45:05 +01:00
Oliver Smith
ffee5d6a4a
cross/busybox-static-*: update to 1.29.3-r3 2018-11-27 07:47:11 +01:00
Oliver Smith
1358b1a91d
cross/gcc-*: update to upstream (8.2.0-r1) 2018-11-27 07:47:11 +01:00
Oliver Smith
80a704e1c6
cross/binutils-*: regenerate aports (update src url)
Download URL was changed from HTTP to HTTPS in Alpine's binutils
aport. Adjust our automatically generated binutils-* aports.
2018-11-27 07:47:11 +01:00
Oliver Smith
2f125587fe
cross/busybox-static-*: update to 1.29.3-r2 2018-11-27 07:47:11 +01:00
Oliver Smith
70a3d3b9d5
cross/*-x86_64: remove aports
These can be manually generated when one really wants to cross compile
from arm to x86_64. Usually this is not needed, so let's save the
compile time. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
2e7437825b
cross/gcc*: set arch to x86_64 only
This covers most use cases and saves a lot of build time. Can be
changed on demand. Again, this simplifies package building as part of
the new build infrastructure effort. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
61489b8367
cross/busybox-static-*: update to 1.29.3-r1 2018-11-27 07:47:11 +01:00
Oliver Smith
dd17dc5c06
*/gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1b78e64748
*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith
7e89296ab4
*/gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbef543cd
*/gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith
1ffa59d892
cross/gcc-*, cross/gcc6-*: regenerate [skip ci]
GCC6 cross compiler packages, based on the latest pmbootstrap
aportgen code. Related: #103
2018-11-27 07:47:11 +01:00
Oliver Smith
479055e896
cross/busybox-*: update to 1.29.3-r0 2018-11-27 07:47:11 +01:00
Oliver Smith
56f1e0c10f
cross/gcc-*: upgrade to gcc 8.2.0 [skip ci]
Skipping CI, because it would probably not finish building all of them.
Major breakage incoming. Details discussed here:
<https://gitlab.com/postmarketOS/pmaports/issues/103>
2018-11-27 07:47:11 +01:00
Oliver Smith
022240425a
cross/binutils-*: update to 2.31.1-r1 (+ patches)
I've missed the patch files in the previous commit, my bad.

This reverts commit 71ffb78557d34408286681d03e41dc612c0b63e1.
2018-11-27 07:47:11 +01:00
Oliver Smith
17ba355220
cross/binutils-*: update to 2.31.1-r1 2018-11-27 07:47:11 +01:00
Daniele Debernardi
bbc4b6bbfe
cross/musl-armhf cross/musl-aarch64 cross/musl-x86_64: Update aports to 1.1.20-r2 2018-09-21 23:00:59 +02:00
Martijn Braam
23ba0dd94c cross/musl-x86_64: Update aports to 1.1.20-r0 2018-09-08 01:02:15 +02:00
Martijn Braam
c4132e6e37 cross/musl-armhf cross/musl-aarch64: Update aports to 1.1.20-r0 2018-09-08 00:57:53 +02:00
Oliver Smith
cf979e773a cross/binutils-*: update to upstream (2.31.1-r0) 2018-08-22 23:46:33 +02:00
Martijn Braam
feae03d4f1 aports: Updated busybox-static-aarch64 to 1.28.4-r2 for upstream compatability 2018-08-13 02:23:00 +02:00
Martijn Braam
da07c7ff06 aports: Updated busybox-static to 1.28.4-r2 for upstream compatability 2018-08-12 22:07:17 +02:00
Oliver Smith
0e65b1bff8 pmb: qemu-user-static from aport, not from Debian
Overview:
In order to execute foreign arch binaries on the host system, we are
using the Linux kernel's binfmt_misc feature in combination with
static builds of QEMU. Before this patch, the statically compiled
QEMU binaries were taken from Debian (mostly because I did not realize
that Alpine ships them as well). Now we can use the ones from the aport.

Benefits:
This allows us to easily update and patch the QEMU executables, we
don't need to be in sync with Debian's versions anymore.

Alpine's package is more modular, so we can save some download,
install, zap time, as well as disk space: setting up an armhf chroot
with pmbootstrap took ~102 MB before, now it's ~18 MB.

Detailed changes:
* Remove `cross/qemu-user-static-repack` aport
* Add `data/qemu-user-binfmt.txt` with the binfmt_misc flags for ELF
  binaries of various arches (extracted from Debian's packaging)
* When parsing that file, don't write verbose messages to
  `pmbootstrap log` anymore, only to the verbose log (can be enabled
  with `pmbootstrap -v`)
* Rename `pmb.parse.arch.alpine_to_debian()` to ...`alpine_to_qemu()`
* Rename `arch_debian` to `arch_qemu`
2018-08-10 15:11:21 +00:00
Oliver Smith
c6c8172efa cross/busybox-static-*: update to 1.28.4-r1 2018-07-22 23:17:19 +02:00
Oliver Smith
6ea553a178 cross/musl-*: update to 1.1.19-r10 2018-06-20 00:59:31 +02:00
Oliver Smith
9acbdf3175 cross/musl: update to 1.1.19-r9 2018-06-16 07:25:51 +02:00
Oliver Smith
df7ad599f1 cross/binutils-*: update to 2.30-r5 2018-06-13 02:07:07 +02:00
Oliver Smith
c4c135251a cross/binutils-*: update to 2.30-r4 2018-06-07 08:00:36 +02:00
Oliver Smith
39d62928cb cross/busybox-static-*: update to 1.28.4-r0 2018-05-30 23:44:35 +02:00
Oliver Smith
8e0f2aa4c5 cross/busybox-static-*: update to 1.28.3-r1 2018-05-28 23:51:35 +02:00
Oliver Smith
392318c1b8 cross/musl-*: update to upstream (1.1.19-r8) 2018-05-25 00:36:04 +02:00
Oliver Smith
1ed23588a3 cross/binutils-*: update to 2.30-r2 2018-05-20 20:39:56 +02:00
Oliver Smith
d20a4806d9 cross/busybox-static-*: update to 1.28.3-r0 2018-05-14 23:46:37 +02:00
Oliver Smith
a6d89192ce gcc-*: fix compiling in strict mode [skip ci] (#1468)
Due to changes in abuild, our `gcc-armhf` etc. packages did not build
when using strict mode (i.e. `pmbootstrap build --strict gcc-armhf`)
anymore.

Changes:
* Set `CBUILDDIR=/`, so apk can read a valid package index from there
* Directly set `_cross_configure`, so it does not use CBUILDDIR anymore
* Set `BOOTSTRAP="nobuildbase"` to prevent apk from installing
  `build-base-armhf` etc. (these don't exist in pmOS)
* Remove legacy code for lazy reproducible builds that wrapped
  `package()`
2018-05-13 18:30:02 +00:00
Oliver Smith
ce8475d6aa cross/binutils-*: update to upstream (2.30-r1) 2018-05-08 01:41:27 +02:00