host-apps/dtoverlay: don't install scripts in random location#380
host-apps/dtoverlay: don't install scripts in random location#380yann-morin-1998 wants to merge 1 commit into
Conversation
Currently, we add a custom command that installs the dtoverlay pre/post
scripts in ${CMAKE_BINARY_DIR}/../../bin
However:
- this points outside of the package directory; it even points two
directories higher;
- when doing cross-compilation, this is definitely not the place where
the /bin directory really is;
- the scripts are already properly installed without this code.
Remove that code, it serves no purpose and breaks for cross-compilation.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
The purpose of these command is to copy the scripts into build/bin during the build phase to make them easier to locate. Obviously they aren't absolutely necessary, but it was nice to be able to see all the build targets in a single location before installing them. Do you know of a cleaner way to achieve the same thing? |
|
@pelwell Sorry, I don't see the point. What is this "build/" directory you're talking about?
For example (cross-compile options and the likes just ignored for the sake of the example): The scripts are stored in that new Regards, |
|
I was doing some work on the dtoverlay command and remembered this PR. It's merged now - sorry for the delay. |
|
@pelwell Thanks! Better late than never. ;-) |
Currently, we add a custom command that installs the dtoverlay pre/post
scripts in ${CMAKE_BINARY_DIR}/../../bin
However:
this points outside of the package directory; it even points two
directories higher;
when doing cross-compilation, this is definitely not the place where
the /bin directory really is;
the scripts are already properly installed without this code.
Remove that code, it serves no purpose and breaks for cross-compilation.
Signed-off-by: "Yann E. MORIN" yann.morin.1998@free.fr