pmaports w/ reMarkable 1 packages
Find a file
Affe Null f0286576e7
cross/crossdirect: improve rust handling (MR 4234)
Add a cargo wrapper which appends a --target argument to the command
line. This makes cargo pass the --target argument to rustc for crates
being built for the target architecture, even if the target is the same
as the host. It will omit the --target argument for build scripts and
crates used in macros.

Check for this --target argument in the rustc wrapper and adjust the
library paths depending on its presence. The fallback that runs rustc
under qemu is no longer needed because macros are now built for the
native architecture and can be loaded into the native compiler without
any problems.

Also check if the arguments passed to rustc are "-vV". If this is the
case, we still need to fall back to the target rustc because the native
rustc will return the wrong architecture. If the wrong host architecture
is passed to a build script, it might try to look for a cross-compiler
or do something else that doesn't work.

[ci:skip-build]: already built successfully in CI
2023-07-24 08:32:10 +02:00
.ci main/postmarketos-{base-ui,config-nftables}: reorganize NM configs and scripts (MR 4254) 2023-07-17 10:06:52 -07:00
.githooks Add githooks from alpine (MR 4008) 2023-04-12 16:42:45 +02:00
.gitlab/issue_templates gitlab: issue template: add GNOME mobile 2023-06-13 08:36:05 +02:00
cross cross/crossdirect: improve rust handling (MR 4234) 2023-07-24 08:32:10 +02:00
device linux-postmarketos-qcom-sc7180: enable goodix hid over i2c touchscreen (MR 4273) 2023-07-24 08:24:57 +02:00
main main/postmarketos-ui-sxmo-de-sway: seatd dep moved to sxmo-utils-sway (MR 4271) 2023-07-22 10:18:28 -07:00
modem modem/msm-cros-efs-loader: new aport (MR 4250) 2023-07-22 18:15:16 +02:00
temp temp/gtk4.0: Fork from alpine, add transient window patches (MR 3894) 2023-07-21 19:07:57 -07:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: remove version 2023-04-11 09:18:36 +02:00
.editorconfig CI: check if most text files have final_newline and conform to editorconfig (MR 3530) 2022-10-16 16:27:25 +02:00
.gitignore CI: wiki: adjust for 'pmbootstrap ci' (MR 3608) 2022-11-17 19:10:56 +01:00
.gitlab-ci.yml CI: implement distfile-check as python test (MR 3608) 2022-11-17 19:10:56 +01:00
.mrhlpr.json mrhlpr.json: accept all generic package commits (MR 3131) 2023-03-15 21:37:37 +00:00
channels.cfg channels.cfg: mark v22.12 as unsupported 2023-07-10 08:25:23 +02:00
CODEOWNERS huawei-plank: new device (MR 4096) 2023-05-23 15:19:16 -07:00
COMMITSTYLE.md COMMITSTYLE: introduce (MR 3908) 2023-03-21 08:32:10 +01:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: add supported_heimdall_depends 2022-11-16 08:45:07 +01:00
README.md README: add mention to COMMITSTYLE (MR 4010) 2023-04-13 23:22:01 -07:00