Skip to content

Update paths to ilclient and vgfont in Makefile.include #153

Closed
wants to merge 2 commits into from

2 participants

@fieldOfView

If a user wants to make an application based on the hello_pi example code, he/she may want to use Makefile.include as per the sample code. Currently this works, provided that the user puts the source of the new application in the /opt/vc/src/hello_pi/ tree, or the user does not use ilclient and vgfont. If the user includes either of those libraries when the project is not in said filesystem tree, the compiler will not find the library because Makefile.include specifies a relative path to the libraries.

This pull request makes paths to ilclient and vgfont absolute so Makefile.include can be included from other locations in the filesystem.

fieldOfView added some commits Mar 4, 2013
@fieldOfView fieldOfView Update Makefile.include
Make paths to ilclient and vgfont absolute so Makefile.include can be included from other locations in the filesystem
42347c7
@fieldOfView fieldOfView Update Makefile.include
Include $(SDKSTAGE) in link paths per suggestion by @popcornmix
3e59557
@fieldOfView

I see having a Makefile.include with working paths as a convenience for people writing (example) code based on the included examples. The current design leads to people writing their own Makefile which does not conform to the hello_pi Makefiles, which then "run the risk" of getting merged into the example code as is.

The Makefile of the hello_videocube example is a good example of how this leads to possibly harder to maintain code.

@popcornmix

We now have this change. Thanks.

@popcornmix popcornmix closed this Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.