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

Makefile: create target folders before using them #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adrians
Copy link

@adrians adrians commented Dec 26, 2019

When installing to an "empty" filesystem (as is the case with fakeroots and
attempting to create installable packages), the ${PREFIX}/usr and ${PREFIX}/lib
directories need to be created (using "install -d").

Without the patch, if the filesystem is entirely empty, "libcsdr.so" gets
installed as "/lib" and "nmux" is installed as "/bin".

This was discovered as I modified the csdr sources to be usable with yocto
(this works, btw - you can check it out here https://github.com/adrians/meta-strat/tree/master/recipes-ham/csdr).

73 DE YO3IPJ

When installing to an "empty" filesystem (as is the case with fakeroots and
attempting to create installable packages), the ${PREFIX}/usr and ${PREFIX}/lib
directories need to be created (using "install -d").

Without the patch, if the filesystem is entirely empty, "libcsdr.so" gets
installed as "/lib" and "nmux" is installed as "/bin".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant