fbdev: make scripts/pnmtologo dependency portable
Subsystems (2)
PATCH 1/1 fbdev: make scripts/pnmtologo dependency portable
From: Yaakov Selkowitz <[email protected]>
Commit a53c9d5b7115173fba9f82ff8120b624ef206f48 added a dependency on scripts/pnmtologo to all autogenerated .c files. An explicit rule is required on platforms where the .exe suffix is used for hostprogs.
---
Michal,
This was originally sent to linux-fbdev, but was forwarded to linux-kbuild (but not you) on 12 June. It has yet to be applied to Linus' tree yet, though.
Also applies to all 3.x stable branches
drivers/video/logo/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/video/logo/Makefile +1 -0
@@ -38,6 +38,7 @@ extra-y += $(call logo-cfiles,_clut224,ppm) extra-y += $(call logo-cfiles,_gray256,pgm) pnmtologo := scripts/pnmtologo +$(pnmtologo): $(objtree)/scripts/pnmtologo # Create commands like "pnmtologo -t mono -n logo_mac_mono -o ..." quiet_cmd_logo = LOGO $@
Signature · 1 line
1.7.9
Quoted 23 lines · Yaakov (Cygwin/X)
From: Yaakov Selkowitz <[email protected]>
Commit
a53c9d5b7115173fba9f82ff8120b624ef206f48added a dependency onscripts/pnmtologoto all autogenerated .c files. An explicit rule is required on platforms where the .exe suffix is used for hostprogs.Signed-off-by Yaakov Selkowitz <[email protected]>---
Michal,This was originally sent to linux-fbdev, but was forwarded to linux-kbuild (but not you) on 12 June. It has yet to be applied to Linus' tree yet, though.
Also applies to all 3.x stable branches
drivers/video/logo/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/video/logo/Makefile +0
-0
drivers/video/logo/Makefile extra-y += $(call logo-cfiles,_clut224,ppm) · line 41
Quoted 4 lines
drivers/video/logo/Makefile +1
-0@@ -38,6 +38,7 @@ extra-y += $(call logo-cfiles,_clut224,ppm) extra-y += $(call logo-cfiles,_gray256,pgm) pnmtologo := scripts/pnmtologo +$(pnmtologo): $(objtree)/scripts/pnmtologo
Please add an explanation to the changelog how it works. scripts/pnmtologo is dependent on $(objtree)/scripts/pnmtologo (same file??), how does it fix the problem that the file is called scripts/pnmtologo.exe on Cygwin? I do not see any rule for hostprog.exe -> hostprog in our makefiles.
Michal