Merge pull request #1184 from glevand/for-merge

Add basic support for arm64
This commit is contained in:
Michael Marineau 2015-04-08 14:15:16 -07:00
commit 0aa38af6ed
16 changed files with 33 additions and 2 deletions

View File

@ -31,6 +31,7 @@ BOARD_USE_PREFIX="board_use_"
ALL_BOARDS=( ALL_BOARDS=(
amd64-generic amd64-generic
amd64-host amd64-host
arm64-generic
) )
# Add BOARD_USE_PREFIX to each board in ALL_BOARDS to create IUSE. # Add BOARD_USE_PREFIX to each board in ALL_BOARDS to create IUSE.

View File

@ -0,0 +1,4 @@
This profile (and its sub-profiles) should *only* contain
architecture specific settings. Architecture independent settings should
go under coreos/base (applies to everything) or coreos/targets/*
(applies to the sdk, amd64-generic, etc.).

View File

@ -0,0 +1,2 @@
..
:coreos/targets/generic/dev

View File

@ -0,0 +1,2 @@
CFLAGS="-O2 -pipe -mtune=generic"
CXXFLAGS="${CFLAGS}"

View File

@ -0,0 +1,2 @@
..
:coreos/targets/generic

View File

@ -0,0 +1,2 @@
..
:coreos/targets/generic/prod

View File

@ -0,0 +1,2 @@
# Do not force this flag, we don't need XATTR_PAX
sys-apps/portage -xattr

View File

@ -0,0 +1,3 @@
# Disable PAX utilities, we don't use grsec kernels
-*sys-apps/paxctl
-*sys-apps/elfix

View File

@ -0,0 +1,3 @@
#portage-stable:hardened/linux/arm64 -- switch when available
portage-stable:default/linux/arm64
:coreos/base

View File

@ -0,0 +1,2 @@
CFLAGS="-O2 -pipe -mtune=generic"
CXXFLAGS="${CFLAGS}"

View File

@ -0,0 +1,2 @@
..
:coreos/targets/sdk

View File

@ -0,0 +1 @@
:coreos/arm64/generic

View File

@ -4,3 +4,8 @@ amd64 coreos/amd64/generic/prod dev
amd64 coreos/amd64/sdk dev amd64 coreos/amd64/sdk dev
amd64 default/linux/amd64/10.0 dev amd64 default/linux/amd64/10.0 dev
amd64 default/linux/amd64/10.0/coreos dev amd64 default/linux/amd64/10.0/coreos dev
arm64 coreos/arm64/generic dev
arm64 coreos/arm64/generic/dev dev
arm64 coreos/arm64/generic/prod dev
arm64 coreos/arm64/sdk dev

View File

@ -7,10 +7,10 @@ CROS_WORKON_LOCALNAME="baselayout"
CROS_WORKON_REPO="git://github.com" CROS_WORKON_REPO="git://github.com"
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~x86" KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else else
CROS_WORKON_COMMIT="cc3915ded60928f5a85d594d1faab4899174361e" CROS_WORKON_COMMIT="cc3915ded60928f5a85d594d1faab4899174361e"
KEYWORDS="amd64 arm x86" KEYWORDS="amd64 arm arm64 x86"
fi fi
inherit cros-workon eutils multilib systemd inherit cros-workon eutils multilib systemd