From patchwork Fri Feb 18 15:18:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 173 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:40:32 -0000 Delivered-To: patches@linaro.org Received: by 10.146.25.23 with SMTP id 23cs99291yay; Fri, 18 Feb 2011 07:18:34 -0800 (PST) Received: by 10.216.179.133 with SMTP id h5mr1606946wem.69.1298042313993; Fri, 18 Feb 2011 07:18:33 -0800 (PST) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id n45si3306888wer.196.2011.02.18.07.18.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 07:18:32 -0800 (PST) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by wyb42 with SMTP id 42so3665365wyb.37 for ; Fri, 18 Feb 2011 07:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=O7opwlhJXniJDDzdnl3bYhMyZTnUYcd1eUt5CsQseu4=; b=N3NDV7aNgKy3xc0j5v0p9LO8LJE+Pxl7j3dKsKtXuqzf6YCHpPI70p6u8GfMgcA0sQ j8W3kzd5y0NRDVdv/tvKsPwF1wyPPWfH0BYUnXsX+tjiYSoTA4Vg/WLfr2fnLz140KhK S4kKt4pdwhgIGH+eKa2Xxkye9U1oGvOnRgK04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=hqiY9cVG3Y1jy3/MaLCjviNmQmtDA3Nf+3PjVsepsR3UHrOhkkrnPQhZR9hukfXOGQ wwWFXWNcpFJkTZogfrtoauv/eBXe7CXvPaQZiygLku/R35NXnJUD15xNrVczMKnj32V0 SP4FQjCml7ziW0GFStjCww3KOVAJsjUGP9NVE= Received: by 10.216.246.6 with SMTP id p6mr675601wer.74.1298042310269; Fri, 18 Feb 2011 07:18:30 -0800 (PST) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.35.3 with HTTP; Fri, 18 Feb 2011 07:18:06 -0800 (PST) From: Jeremy Chang Date: Fri, 18 Feb 2011 23:18:06 +0800 X-Google-Sender-Auth: XiSDOkaqDz1OKuc9m-Lfnrgs4Q8 Message-ID: Subject: [PATCH v2] device/linaro/beagleboard: Install 0xbench native applications To: linaro-dev@lists.linaro.org Cc: patches@linaro.org, Patrik Ryd Signed-off-by: Jeremy Chang --- ZeroXBenchmark.mk | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++ beagleboard.mk | 6 +++- 2 files changed, 101 insertions(+), 1 deletions(-) create mode 100644 ZeroXBenchmark.mk diff --git a/ZeroXBenchmark.mk b/ZeroXBenchmark.mk new file mode 100644 index 0000000..e78047d --- /dev/null +++ b/ZeroXBenchmark.mk @@ -0,0 +1,96 @@ +UNIXBENCH_BENCH_APPS := \ + bench_ubench_hanoi \ + bench_ubench_syscall \ + bench_ubench_context1 \ + bench_ubench_pipe \ + bench_ubench_spawn \ + bench_ubench_execl \ + bench_ubench_looper \ + bench_ubench_fstime \ + bench_ubench_arithoh \ + bench_ubench_register \ + bench_ubench_short \ + bench_ubench_int \ + bench_ubench_long \ + bench_ubench_float \ + bench_ubench_double \ + bench_ubench_dhry2 \ + bench_ubench_dhry2reg \ + bench_ubench_whetstone-double + +LIBMICRO_BENCH_APPS := \ + bench_getpid \ + bench_bind \ + bench_cascade_mutex \ + bench_cascade_fcntl \ + bench_cascade_flock \ + bench_chdir \ + bench_close \ + bench_close_tcp \ + bench_connection \ + bench_dup \ + bench_exec \ + bench_exit \ + bench_exp \ + bench_fcntl \ + bench_fcntl_ndelay \ + bench_file_lock \ + bench_fork \ + bench_getenv \ + bench_gettimeofday \ + bench_getpeername \ + bench_getrusage \ + bench_getsockname \ + bench_isatty \ + bench_listen \ + bench_localtime_r \ + bench_log \ + bench_longjmp \ + bench_lrand48 \ + bench_lseek \ + bench_malloc \ + bench_memcpy \ + bench_memmove \ + bench_memrand \ + bench_memset \ + bench_mktime \ + bench_mprotect \ + bench_mmap \ + bench_msync \ + bench_munmap \ + bench_mutex \ + bench_nop \ + bench_open \ + bench_pipe \ + bench_poll \ + bench_pread \ + bench_pthread_create \ + bench_pwrite \ + bench_read \ + bench_realpath \ + bench_recurse \ + bench_select \ + bench_setsockopt \ + bench_sigaction \ + bench_siglongjmp \ + bench_signal \ + bench_sigprocmask \ + bench_socket \ + bench_socketpair \ + bench_stat \ + bench_strcasecmp \ + bench_strchr \ + bench_strcmp \ + bench_strcpy \ + bench_strftime \ + bench_strlen \ + bench_strtol \ + bench_system \ + bench_time \ + bench_times \ + bench_write \ + bench_writev + +ZEROXBENCHMARK_NATIVE_APPS := \ + $(UNIXBENCH_BENCH_APPS) \ + $(LIBMICRO_BENCH_APPS) diff --git a/beagleboard.mk b/beagleboard.mk index c10e0fa..f810f36 100644 --- a/beagleboard.mk +++ b/beagleboard.mk @@ -1,5 +1,7 @@ # The beagleboard product that is specialized for beagleboard. +include $(LOCAL_PATH)/ZeroXBenchmark.mk + PRODUCT_PACKAGES := \ ZeroXBenchmark \ libmicro \ @@ -22,7 +24,9 @@ PRODUCT_PACKAGES := \ Sync \ Updater \ CalendarProvider \ - SyncProvider + SyncProvider \ + $(ZEROXBENCHMARK_NATIVE_APPS) + $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)