* [Buildroot] [PATCH v2] fb-test-app: new package
@ 2012-10-09 15:53 ludovic.desroches at atmel.com
2012-10-10 12:47 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: ludovic.desroches at atmel.com @ 2012-10-09 15:53 UTC (permalink / raw)
To: buildroot
From: Ludovic Desroches <ludovic.desroches@atmel.com>
Test suite for Linux framebuffer.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
package/Config.in | 1 +
package/fb-test-app/Config.in | 6 ++++++
package/fb-test-app/fb-test-app.mk | 34 ++++++++++++++++++++++++++++++++++
3 files changed, 41 insertions(+)
create mode 100644 package/fb-test-app/Config.in
create mode 100644 package/fb-test-app/fb-test-app.mk
diff --git a/package/Config.in b/package/Config.in
index 50b7631..a1ca25d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -117,6 +117,7 @@ source "package/fbset/Config.in"
endif
source "package/fbterm/Config.in"
source "package/fbv/Config.in"
+source "package/fb-test-app/Config.in"
source "package/imagemagick/Config.in"
source "package/linux-fusion/Config.in"
source "package/lite/Config.in"
diff --git a/package/fb-test-app/Config.in b/package/fb-test-app/Config.in
new file mode 100644
index 0000000..23b5568
--- /dev/null
+++ b/package/fb-test-app/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_FB_TEST_APP
+ bool "fb-test-app"
+ help
+ Test suite for Linux framebuffer.
+
+ https://github.com/prpplague/fb-test-app
diff --git a/package/fb-test-app/fb-test-app.mk b/package/fb-test-app/fb-test-app.mk
new file mode 100644
index 0000000..9ea932a
--- /dev/null
+++ b/package/fb-test-app/fb-test-app.mk
@@ -0,0 +1,34 @@
+#############################################################
+#
+# fb-test-app
+#
+#############################################################
+
+FB_TEST_APP_VERSION = v1.0.0
+FB_TEST_APP_SITE = http://github.com/prpplague/fb-test-app/tarball/$(FB_TEST_APP_VERSION)
+FB_TEST_APP_LICENSE = GPLv2
+FB_TEST_APP_LICENSE_FILE = COPYING
+
+define FB_TEST_APP_BUILD_CMDS
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
+endef
+
+define FB_TEST_APP_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/perf $(TARGET_DIR)/usr/bin/fb-test-perf
+ $(INSTALL) -D -m 0755 $(@D)/rect $(TARGET_DIR)/usr/bin/fb-test-rect
+ $(INSTALL) -D -m 0755 $(@D)/fb-test $(TARGET_DIR)/usr/bin/fb-test
+ $(INSTALL) -D -m 0755 $(@D)/offset $(TARGET_DIR)/usr/bin/fb-test-offset
+endef
+
+define FB_TEST_APP_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/bin/fb-test-perf
+ rm -f $(TARGET_DIR)/usr/bin/fb-test-rect
+ rm -f $(TARGET_DIR)/usr/bin/fb-test
+ rm -f $(TARGET_DIR)/usr/bin/fb-test-offset
+endef
+
+define FB_TEST_APP_CLEAN_CMDS
+ $(MAKE) -C $(@D) clean
+endef
+
+$(eval $(generic-package))
--
1.7.11.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] fb-test-app: new package
2012-10-09 15:53 [Buildroot] [PATCH v2] fb-test-app: new package ludovic.desroches at atmel.com
@ 2012-10-10 12:47 ` Peter Korsgaard
2012-10-10 14:33 ` ludovic.desroches
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2012-10-10 12:47 UTC (permalink / raw)
To: buildroot
>>>>> <ludovic.desroches@atmel.com> writes:
> From: Ludovic Desroches <ludovic.desroches@atmel.com>
> Test suite for Linux framebuffer.
> +
> +define FB_TEST_APP_BUILD_CMDS
> + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
We should also pass our CFLAGS and LDFLAGS. I've added a patch to let
the fb-test-app build system support this and then used
TARGET_CONFIGURE_OPTS instead.
Committed with that change, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2] fb-test-app: new package
2012-10-10 12:47 ` Peter Korsgaard
@ 2012-10-10 14:33 ` ludovic.desroches
0 siblings, 0 replies; 3+ messages in thread
From: ludovic.desroches @ 2012-10-10 14:33 UTC (permalink / raw)
To: buildroot
Le 10/10/2012 02:47 PM, Peter Korsgaard a ?crit :
>>>>>> <ludovic.desroches@atmel.com> writes:
>
> > From: Ludovic Desroches <ludovic.desroches@atmel.com>
> > Test suite for Linux framebuffer.
> > +
> > +define FB_TEST_APP_BUILD_CMDS
> > + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
>
> We should also pass our CFLAGS and LDFLAGS. I've added a patch to let
> the fb-test-app build system support this and then used
> TARGET_CONFIGURE_OPTS instead.
Ok, thanks Peter for this improvement.
>
> Committed with that change, thanks.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-10 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 15:53 [Buildroot] [PATCH v2] fb-test-app: new package ludovic.desroches at atmel.com
2012-10-10 12:47 ` Peter Korsgaard
2012-10-10 14:33 ` ludovic.desroches
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.