profile: Overall update 52/179552/5
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 15 May 2018 09:14:26 +0000 (11:14 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Mon, 30 Jul 2018 13:32:18 +0000 (15:32 +0200)
Some packages can not be cross-compiled correctly, but they can be
avoided. Some packages require environment variables to be modified,
so bashrc files were added. It requires metadata/layout.conf to be
updated.

Change-Id: I7d8298ed86da16be532cd82f8e41c9b492ddaf4f

metadata/layout.conf
profiles/default/linux/arm/17.0/armv7a/nanopi/bashrc/no-cflags.conf [new file with mode: 0644]
profiles/default/linux/arm/17.0/armv7a/nanopi/make.defaults
profiles/default/linux/arm/17.0/armv7a/nanopi/package.bashrc/gcc [new file with mode: 0644]
profiles/default/linux/arm/17.0/armv7a/nanopi/package.keywords [new file with mode: 0644]
profiles/default/linux/arm/17.0/armv7a/nanopi/package.mask [new file with mode: 0644]
profiles/default/linux/arm/17.0/armv7a/nanopi/package.provided [new file with mode: 0644]
profiles/default/linux/arm/17.0/armv7a/nanopi/package.use
profiles/default/linux/arm/17.0/armv7a/nanopi/parent

index 95b5f73..c689858 100644 (file)
@@ -1,3 +1,4 @@
 masters = gentoo
 repo-name = nanopi
 thin-manifests = true
+profile-formats = portage-2 profile-bashrcs
diff --git a/profiles/default/linux/arm/17.0/armv7a/nanopi/bashrc/no-cflags.conf b/profiles/default/linux/arm/17.0/armv7a/nanopi/bashrc/no-cflags.conf
new file mode 100644 (file)
index 0000000..bf8a482
--- /dev/null
@@ -0,0 +1,2 @@
+CFLAGS="-O2 -pipe -fomit-frame-pointer"
+CXXFLAGS="${CFLAGS}"
index f759e38..8055522 100644 (file)
@@ -1,4 +1,10 @@
 USE="minimal -sendmail -pam -acl -seccomp -xattr -vtv -native-extensions -ipv6 -nls -ncurses -mime"
 CFLAGS="-O2 -pipe -fomit-frame-pointer -march=armv7-a -mtune=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4"
 CXXFLAGS="${CFLAGS}"
+ARCH=arm
+GOARCH="${ARCH}"
+GOARM=7
 FEATURES="buildpkg binpkg-multi-instance noman noinfo nodoc"
+
+PYTHON_TARGETS="python2_7 -python3_5 python3_6"
+PYTHON_SINGLE_TARGET="-python3_5 python3_6"
diff --git a/profiles/default/linux/arm/17.0/armv7a/nanopi/package.bashrc/gcc b/profiles/default/linux/arm/17.0/armv7a/nanopi/package.bashrc/gcc
new file mode 100644 (file)
index 0000000..fb1ce1e
--- /dev/null
@@ -0,0 +1,2 @@
+sys-devel/base-gcc no-cflags.conf
+sys-devel/gcc no-cflags.conf
diff --git a/profiles/default/linux/arm/17.0/armv7a/nanopi/package.keywords b/profiles/default/linux/arm/17.0/armv7a/nanopi/package.keywords
new file mode 100644 (file)
index 0000000..9fe7260
--- /dev/null
@@ -0,0 +1,2 @@
+=sys-conf/dryad-9999 **
+=dev-embedded/stm32flash-0.5 **
diff --git a/profiles/default/linux/arm/17.0/armv7a/nanopi/package.mask b/profiles/default/linux/arm/17.0/armv7a/nanopi/package.mask
new file mode 100644 (file)
index 0000000..282dbac
--- /dev/null
@@ -0,0 +1,3 @@
+=net-fs/nfs-utils-2.3.2
+>=sys-libs/gdbm-1.15
+~sys-devel/gcc-7.3.0
diff --git a/profiles/default/linux/arm/17.0/armv7a/nanopi/package.provided b/profiles/default/linux/arm/17.0/armv7a/nanopi/package.provided
new file mode 100644 (file)
index 0000000..48614a8
--- /dev/null
@@ -0,0 +1,3 @@
+# In order to allow installation of sys-devel/base-gcc as a replacement.
+# FIXME: It is possible to have neither base-gcc, gcc installed!
+sys-devel/gcc-6.4.0-r1
index c241833..e0d7957 100644 (file)
@@ -1,8 +1,12 @@
 app-arch/libarchive -e2fsprogs
-sys-apps/systemd -gcrypt -lz4 -sysv-utils
+sys-apps/systemd nat -gcrypt -lz4 -sysv-utils
 dev-vcs/git -gpg -iconv -pcre -pcre-jit -perl -python
 net-firewall/iptables conntrack
 sys-process/procps ncurses
 net-fs/nfs-utils -nfsidmap -uuid -tcpd
 net-nds/rpcbind -tcpd
 sys-devel/base-gcc -pch -ssp -fortran -nptl -openmp -sanitize
+sys-devel/gcc -pch -ssp -fortran -nptl -openmp -sanitize
+app-crypt/gnupg -smartcard
+sys-apps/portage -rsync-verify
+app-editors/vim -minimal
index 758a275..6761693 100644 (file)
@@ -1,2 +1,2 @@
-/usr/portage/profiles/default/linux/arm/17.0/armv7a
-/usr/portage/profiles/targets/systemd
+gentoo:default/linux/arm/17.0/armv7a
+gentoo:targets/systemd