fbdev: make scripts/pnmtologo dependency portable

Started by Yaakov (Cygwin/X) on Jun 11, 2012 · 2 messages from 2 authors · Last reply Jun 12, 2012

Subsystems (2)

Maintainers (2)

STALE5267d

open the first message on its own page

Message details and related content
From: Yaakov Selkowitz <redacted>

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.

Signed-off-by: Yaakov Selkowitz <redacted>
---
Also applies to all 3.x stable branches

 drivers/video/logo/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/logo/Makefile b/drivers/video/logo/Makefile
index 3b43781..3854dbb 100644
--- a/drivers/video/logo/Makefile
+++ b/drivers/video/logo/Makefile
@@ -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    $@
-- 
1.7.9
Message details and related content
Cc linux-kbuild added

On Tue, Jun 12, 2012 at 1:02 AM, Yaakov (Cygwin/X)
[off-list ref] wrote:
quoted hunk
From: Yaakov Selkowitz <redacted>

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.

Signed-off-by: Yaakov Selkowitz <redacted>
---
Also applies to all 3.x stable branches

 drivers/video/logo/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/logo/Makefile b/drivers/video/logo/Makefile
index 3b43781..3854dbb 100644
--- a/drivers/video/logo/Makefile
+++ b/drivers/video/logo/Makefile
@@ -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    $@
--
1.7.9

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help