Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fbdump: Make fbdump available only to x86/x86_64/arm architectures
@ 2012-03-14 10:02 Markos Chandras
  2012-03-14 10:37 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Markos Chandras @ 2012-03-14 10:02 UTC (permalink / raw)
  To: buildroot

fbdump uses the ioperm() syscall which is only implemented in
x86/x86_64. The rest of the architectures map ioperm() to
sys_ni_syscall which is the default function for the unimplemented
syscalls. Moreover, ARM has its own ioperm() implementation
in uClibc.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/fbdump/Config.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/fbdump/Config.in b/package/fbdump/Config.in
index fb4aee6..2f8040f 100644
--- a/package/fbdump/Config.in
+++ b/package/fbdump/Config.in
@@ -1,3 +1,4 @@
+if BR2_i386 || BR2_x86_64 || BR2_arm
 config BR2_PACKAGE_FBDUMP
 	bool "fbdump (Framebuffer Capture Tool)"
 	help
@@ -5,4 +6,4 @@ config BR2_PACKAGE_FBDUMP
 	  framebuffer  device and write them out as a PPM file. Currently,
 	  most packed-pixel framebuffer formats and the vga16 framebuffer
 	  are supported.
-
+endif
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] fbdump: Make fbdump available only to x86/x86_64/arm architectures
@ 2012-03-14 10:40 Markos Chandras
  0 siblings, 0 replies; 9+ messages in thread
From: Markos Chandras @ 2012-03-14 10:40 UTC (permalink / raw)
  To: buildroot

fbdump uses the ioperm() syscall which is only implemented in
x86/x86_64. The rest of the architectures map ioperm() to
sys_ni_syscall which is the default function for the unimplemented
syscalls. Moreover, ARM has its own ioperm() implementation
in uClibc.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/fbdump/Config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/fbdump/Config.in b/package/fbdump/Config.in
index fb4aee6..1129134 100644
--- a/package/fbdump/Config.in
+++ b/package/fbdump/Config.in
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_FBDUMP
 	bool "fbdump (Framebuffer Capture Tool)"
+	depends on BR_i386 || BR2_x86_64 || BR2_arm
 	help
 	  fbdump is a simple tool to capture snapshots from the Linux kernel
 	  framebuffer  device and write them out as a PPM file. Currently,
 	  most packed-pixel framebuffer formats and the vga16 framebuffer
 	  are supported.
-
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-03-14 13:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 10:02 [Buildroot] [PATCH] fbdump: Make fbdump available only to x86/x86_64/arm architectures Markos Chandras
2012-03-14 10:37 ` Thomas Petazzoni
2012-03-14 10:43   ` Markos Chandras
2012-03-14 11:02     ` Thomas Petazzoni
2012-03-14 11:33       ` Markos Chandras
2012-03-14 11:48       ` Markos Chandras
2012-03-14 11:55         ` Thomas Petazzoni
2012-03-14 13:56           ` Markos Chandras
  -- strict thread matches above, loose matches on Subject: below --
2012-03-14 10:40 Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox