GNOME Bugzilla – Bug 789101
Add ArmHF Architecture for Raspberry Pi support in Cerbero
Last modified: 2018-11-03 10:22:22 UTC
Created attachment 361745 [details] [review] Add Support for Raspberry Pi 2 to Cerbero "Raspberry Pi 2 Model B V1.1" running Raspbian uses a host triplet of "arm-linux-gnueabihf". This patch adds an "Architecture.ARMHF" architecture to Cerbero which selects this triplet and builds for it.
Created attachment 361747 [details] [review] Fix Harfbuzz on Raspberry Pi 2 in Cerbero Harfbuzz needs -fPIC set when building for arm-linux-gnueabihf target platform triplet. This enables it to build for Rapsberry Pi 2 running Raspian.
Review of attachment 361745 [details] [review]: The only thing I'm not fan of, is that cross-lin-armhf.cbc being sercretly dedicated to building for Raspberry enabling weird variants that make very little sense (event for Raspberry Pi. I know it's copied from the lin-arm one, but I would like not follow this line. - Why nox11, nov4l2, nosdl, noalsa ?
Review of attachment 361747 [details] [review]: ::: recipes/harfbuzz.recipe @@ +18,3 @@ + if self.config.target_platform == Platform.LINUX: + if self.config.target_arch == Architecture.ARMHF: + self.append_env ['CFLAGS'] = "%s %s" % (self.append_env.get('CFLAGS', Can't you += or something like this ?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/46.