diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2015-02-11 21:34:56 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@resin.io> | 2015-03-01 00:59:48 +0100 |
commit | 1949a0d5ba134036a590a41fd414f3bdd7ecee9e (patch) | |
tree | 593bb30bc016f69faf7d14d236cd19befeaa541d | |
parent | ba383ecd350eb301fe9f6a2435be8f414617f10a (diff) | |
download | meta-raspberrypi-1949a0d5ba134036a590a41fd414f3bdd7ecee9e.tar.gz |
userland: Fix build for armv7
[Bug #49]
Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r-- | conf/machine/raspberrypi2.conf | 5 | ||||
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/conf/machine/raspberrypi2.conf b/conf/machine/raspberrypi2.conf index 778f5a6..30edae3 100644 --- a/conf/machine/raspberrypi2.conf +++ b/conf/machine/raspberrypi2.conf | |||
@@ -2,11 +2,6 @@ | |||
2 | #@NAME: RaspberryPi 2 Development Board | 2 | #@NAME: RaspberryPi 2 Development Board |
3 | #@DESCRIPTION: Machine configuration for the RaspberryPi 2 | 3 | #@DESCRIPTION: Machine configuration for the RaspberryPi 2 |
4 | 4 | ||
5 | # userland is not compiling on RPI 2 | ||
6 | # https://github.com/raspberrypi/userland/issues/214 | ||
7 | PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp" | ||
8 | PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp" | ||
9 | |||
10 | DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" | 5 | DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4" |
11 | 6 | ||
12 | require conf/machine/include/tune-cortexa7.inc | 7 | require conf/machine/include/tune-cortexa7.inc |
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index 1e60ea8..729c42a 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -22,6 +22,7 @@ S = "${WORKDIR}/git" | |||
22 | inherit cmake | 22 | inherit cmake |
23 | 23 | ||
24 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" | 24 | EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'" |
25 | CFLAGS_append = " -fPIC" | ||
25 | 26 | ||
26 | # The compiled binaries don't provide sonames. | 27 | # The compiled binaries don't provide sonames. |
27 | SOLIBS = "${SOLIBSDEV}" | 28 | SOLIBS = "${SOLIBSDEV}" |