summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-22 21:30:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-22 21:30:51 +0100
commita3bebd70f18e918bc1e2875bf6389913141d6e0d (patch)
tree208435daff8ba13e13f5e6196a2f27bac3723259
parente837f1a043b0db1d950a3f29c6af223d6c0b15c0 (diff)
addjust crossdev configs
-rw-r--r--conf/cross/portage/make.conf/00-cflags.conf2
-rw-r--r--conf/cross/portage/make.conf/00-layout.conf10
2 files changed, 9 insertions, 3 deletions
diff --git a/conf/cross/portage/make.conf/00-cflags.conf b/conf/cross/portage/make.conf/00-cflags.conf
index 1276ef7..02e6022 100644
--- a/conf/cross/portage/make.conf/00-cflags.conf
+++ b/conf/cross/portage/make.conf/00-cflags.conf
@@ -4,3 +4,5 @@ CFLAGS="-O2 -march=armv8-a+crc+simd -mtune=cortex-a72 -pipe -ftree-vectorize -fo
CXXFLAGS="-O2 -march=armv8-a+crc+simd -mtune=cortex-a72 -pipe -ftree-vectorize -fomit-frame-pointer -fno-delete-null-pointer-checks -Wno-deprecated -Wno-deprecated-declarations -fno-plt -fstack-protector-strong -fstack-clash-protection"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
CHOST="aarch64-unknown-linux-gnu"
+CBUILD=x86_64-pc-linux-gnu
+HOSTCC=${CBUILD}-gcc
diff --git a/conf/cross/portage/make.conf/00-layout.conf b/conf/cross/portage/make.conf/00-layout.conf
index dc17ed2..ae030ef 100644
--- a/conf/cross/portage/make.conf/00-layout.conf
+++ b/conf/cross/portage/make.conf/00-layout.conf
@@ -1,8 +1,12 @@
# This file has been automatically generated, do not edit.
-PORTDIR="/usr/ports/gentoo"
-PKGDIR="/var/cache/packages"
-DISTDIR="/var/cache/distfiles"
+ROOT="/jails/redcore/cross"
+PKG_CONFIG_PATH="${ROOT}/usr/lib/pkgconfig/"
+PORTAGE_TMPDIR="${ROOT}/var/tmp/portage"
+
+PORTDIR="/jails/redcore/arm64/redcore-portage"
+PKGDIR="/jails/redcore/arm64/packages"
+DISTDIR="/jails/redcore/arm64/distfiles"
INSTALL_MASK="/etc/systemd
/usr/lib/systemd