mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-05-31 00:39:51 +00:00
userland: Fix build for armv7
[Bug #49] Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
committed by
Andrei Gherzan
parent
ba383ecd35
commit
1949a0d5ba
@@ -2,11 +2,6 @@
|
|||||||
#@NAME: RaspberryPi 2 Development Board
|
#@NAME: RaspberryPi 2 Development Board
|
||||||
#@DESCRIPTION: Machine configuration for the RaspberryPi 2
|
#@DESCRIPTION: Machine configuration for the RaspberryPi 2
|
||||||
|
|
||||||
# userland is not compiling on RPI 2
|
|
||||||
# https://github.com/raspberrypi/userland/issues/214
|
|
||||||
PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp"
|
|
||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"
|
|
||||||
|
|
||||||
DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
|
DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
|
||||||
|
|
||||||
require conf/machine/include/tune-cortexa7.inc
|
require conf/machine/include/tune-cortexa7.inc
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ S = "${WORKDIR}/git"
|
|||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'"
|
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'"
|
||||||
|
CFLAGS_append = " -fPIC"
|
||||||
|
|
||||||
# The compiled binaries don't provide sonames.
|
# The compiled binaries don't provide sonames.
|
||||||
SOLIBS = "${SOLIBSDEV}"
|
SOLIBS = "${SOLIBSDEV}"
|
||||||
|
|||||||
Reference in New Issue
Block a user