Skip to content

Makefile: create target folders before using them#53

Open
adrians wants to merge 1 commit intoha7ilm:masterfrom
adrians:pull-req-1
Open

Makefile: create target folders before using them#53
adrians wants to merge 1 commit intoha7ilm:masterfrom
adrians:pull-req-1

Conversation

@adrians
Copy link
Copy Markdown

@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