pmaports/main
Oliver Smith 6aba5f73d4 Package kernel-scripts separately (#1234)
We have two methods of cross-compiling:
* native: everything runs with the host architecture, QEMU is not
  involved. This is the fastest, but requires the build system to be
  working with it. We use this for all linux-* packages currently.
* distcc: everything runs through QEMU emulating the target arch,
  *except* for the compiler. This is the most compatible approach
  working with all packages.

When compiling `linux-*` packages natively, kernel scripts needed
during the build process get generated. Some of these are C files that
get compiled as executables. In native mode, these get compied to the
native architecture, in distcc mode to the target architecture.

The problem is, that we need these scripts compiled for the target
architecture in the kernel's dev package in order to compile kernel
modules outside of the kernel's package (e.g. wireguard).

It is not possible to just rewrite this logic to generate target-arch
binaries when running in native mode, because these binaries require
musl-dev, linux-headers and some other packages to be installed for the
target architecture inside the native chroot.

We solve this by introducing a new `kernel-scripts` package. which
contains just the binary scripts. In case the dev package was
cross-compiled, it depends on `kernel-scripts` and symlinks these
binaries. The `kernel-scripts` package always gets compiled in distcc
mode since it does not have a `linux-` prefix.

Fixes #1230.
2018-02-16 22:00:37 +01:00
..
0xffff Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
abootimg abootimg: arch=all (#1131) 2018-01-18 00:58:50 +00:00
abuild-aarch64-qemu-workaround Workaround for Qemu aarch64 abuild-tar bug (#907) 2017-11-15 22:28:10 +00:00
apk-file apk-file: Command line front end for pkgs.alpinelinux.org (#1011) 2017-12-15 23:41:14 +00:00
blobtools Add blobtools as package for tf101 (#1115) 2018-01-13 00:33:48 +00:00
chocolate-doom aports: clean up APKBUILD for unicsy-demo, sdl_net, and chocolate-doom (#664) 2017-10-02 20:47:26 +00:00
devicepkg-dev devicepkg-dev: Generate calibration matrix for libinput (#1205) 2018-02-11 10:20:31 +00:00
dtbtool [dtbTool] Fix version detection and find dtb in subfolders (#1057) 2017-12-30 19:00:48 +00:00
extract-dtb extract-dtb: update to v1.1 (#431) 2017-08-21 15:06:44 +00:00
fbdebug [fbdebug] Add panning functionality (#1207) 2018-02-06 21:21:25 +00:00
heimdall Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
hello-world Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
hello-world-wrapper Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
kernel-scripts Package kernel-scripts separately (#1234) 2018-02-16 22:00:37 +01:00
kmscube aports: add kmscube for testing kernel modesetting (#724) 2017-10-09 19:00:35 +00:00
libfakekey aports: packaged matchbox-keyboard (#1001) 2017-12-12 19:40:12 +00:00
libsamsung-ipc libsamsung-ipc: update to 6.0.0003 and fix pkgver 2018-01-20 19:28:15 +00:00
libsparse Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
linux-postmarketos-lts Package kernel-scripts separately (#1234) 2018-02-16 22:00:37 +01:00
linux-postmarketos-mainline Package kernel-scripts separately (#1234) 2018-02-16 22:00:37 +01:00
linux-postmarketos-stable Package kernel-scripts separately (#1234) 2018-02-16 22:00:37 +01:00
matchbox-keyboard aports: packaged matchbox-keyboard (#1001) 2017-12-12 19:40:12 +00:00
mdss-fb-init-hack Workaround for mdss-fb (#927) 2017-11-21 23:17:59 +00:00
mkbootimg mkbootimg: replace Python version with osm0sis' C version (#1193) 2018-02-11 11:41:41 +00:00
msm-fb-refresher Add msm-fb-refresher package and initfs config (#587) 2017-09-18 19:17:30 +00:00
osk-sdl [osk-sdl] Update to 0.51 (#862) 2017-11-12 11:17:30 +00:00
postmarketos-android-recovery-installer Fix invalid /etc/apk/repositories entry on device (#1189) 2018-02-01 22:44:20 +00:00
postmarketos-artwork Artwork packages (corrected) (#1097) 2018-01-09 14:01:27 +01:00
postmarketos-artwork-wallpapers postmarketos-artwork-wallpapers: Update to pull in JPG wallpapers (#1113) 2018-01-12 21:32:59 +00:00
postmarketos-base Install dbus by default (#783) 2017-10-18 19:02:28 +00:00
postmarketos-demos Modified postmarketos-demo as discussed on IRC: (#1082) 2018-01-05 03:06:16 +00:00
postmarketos-mkinitfs mkinitfs: Fail on missing depends / better usability in general (#1133) 2018-01-31 19:39:09 +00:00
postmarketos-mkinitfs-hook-debug-shell Feature debug-shell (#1028) 2017-12-23 19:22:28 +00:00
postmarketos-splash Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
postmarketos-ui-hildon Various small xfce4/Hildon fixes (#792) 2017-10-24 16:16:58 +00:00
postmarketos-ui-luna Add packages and configuration changes to allow Luna to start in QEMU (#1016) 2017-12-17 18:25:59 +00:00
postmarketos-ui-mate qemu-amd64: make XFCE4, MATE work out of the box with SDL display (#1094) 2018-01-08 18:29:11 +00:00
postmarketos-ui-plasma-mobile postmarketos-ui-plasma-mobile: use kwin with framebuffer when missing /dev/dri (#1062) 2018-01-02 22:53:21 +00:00
postmarketos-ui-weston Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
postmarketos-ui-xfce4 qemu-amd64: make XFCE4, MATE work out of the box with SDL display (#1094) 2018-01-08 18:29:11 +00:00
postmarketos-update-kernel Rename deviceinfo variable flash_methods to flash_method (#1030) 2017-12-21 22:12:51 +00:00
qt5-qtbase Add qt5-qtbase with OpenGL ES2 enabled (#996) 2017-12-11 20:24:30 +00:00
qt5-qtdeclarative qt5-qtdeclarative (QML) compile for armv7 to enable JIT and make it work at all (#1022) 2017-12-18 22:57:40 +00:00
qt5-qtvirtualkeyboard Upgrade Qt libs to 5.9.3 / add test case to check if we're in sync with Alpine (#976) 2017-12-04 23:06:09 +00:00
qt5-qtwayland Upgrade Qt libs to 5.9.3 / add test case to check if we're in sync with Alpine (#976) 2017-12-04 23:06:09 +00:00
qt5-qtwebchannel Add qtwebengine & qtwebchannel from luna work (#999) 2017-12-12 23:37:04 +00:00
qt5-qtwebengine Enable qt5-qtwebengine for aarch64 again 2017-12-23 11:24:17 +01:00
sdl_net aports: clean up APKBUILD for unicsy-demo, sdl_net, and chocolate-doom (#664) 2017-10-02 20:47:26 +00:00
triggerhappy Add triggerhappy: HID input device handler (#1211) 2018-02-11 10:09:18 +00:00
unicsy-demo Update unicsy-demo to 0.4.6 (#1215) 2018-02-09 20:41:15 +00:00
watchdog-kick Add basic support for Nokia N9 (#1101) 2018-01-09 16:42:55 +00:00
wcnss-wlan [huawei-y530] Add firmware-huawei-y530 package with wifi required files (#781) 2017-10-17 16:25:38 +00:00
weston weston: bump pkgrel (soname bump of dependency libva) 2017-12-20 00:19:07 +01:00