Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RPi] fix vendor header & lib includes / remove project specific include CFLAGS WIP #3428

Merged
merged 9 commits into from
Apr 30, 2019

Conversation

5schatten
Copy link
Contributor

@5schatten 5schatten commented Apr 16, 2019

The bcm2835-driver package contains several vendor headers & libs which were normally installed to /opt/vc/include & /opt/vc/libs but LE installs them to /usr/... so we need extra include flags to tell packages where they find these includes.

Also the pkgconfig files provided by the Raspberry project contain a prefix=/opt/vc var which leads to wrong include paths if pkg-config is used to compile packages.

So this PR changes the prefix to prefix=/usr & creates symlinks for /opt/vc to make sure hardcoded include paths were correct & pkg-config creates valid include paths.

  • the PR also removes the CFLAGS in some projects
  • reduces the TARGET_FPU options to hard or soft
  • removes the softfp option for Allwinner H3 & RPi

Tests:

  • RPi3 -> the usual stuff so video, tv & music works
  • screensaver.shadertoy & visualization.shadertoy addons build, install & run fine

@MilhouseVH MilhouseVH merged commit 09325f7 into LibreELEC:master Apr 30, 2019
@5schatten 5schatten deleted the move_RPi_vendor_headers branch May 1, 2019 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants