mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/libsoil: add a comment about why we rename the Makefile
Commit 8461906d (package/libsoil: fix build using old versions of patch)
added a workaround for older patch versions, but didn't add any comment in
the .mk file explaining why this is done.
Add a comment explaining why for clarity.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -18,6 +18,10 @@ define LIBSOIL_EXTRACT_CMDS
|
|||||||
mv $(@D)/Simple\ OpenGL\ Image\ Library/* $(@D)
|
mv $(@D)/Simple\ OpenGL\ Image\ Library/* $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# gnu patch < v2.5.9 doesn't correctly handle spaces in file names,
|
||||||
|
# and we want to patch the 'alternate Makefile.txt' file, so rename
|
||||||
|
# the file (and patch the renamed file) for compatibility with older
|
||||||
|
# distributions
|
||||||
define REMOVE_SPACE_FROM_FILENAME
|
define REMOVE_SPACE_FROM_FILENAME
|
||||||
cd $(@D)/projects/makefile/ && \
|
cd $(@D)/projects/makefile/ && \
|
||||||
mv "alternate Makefile.txt" alternate_Makefile.txt
|
mv "alternate Makefile.txt" alternate_Makefile.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user