Hi Jeremy.
Can you add ZEROXBENCHMARK_NATIVE_APPS to PRODUCT PACKAGES for the other boards also?
I know you can not verify that it works. In this case I think it is enough that you have managed to build for all the boards. The code is not run until you start 0xbench so it should not prevent any other boards from booting.
I will look at breaking out common stuff for all the boards, but create a patch for each board for now.
/Patrik
On 14 February 2011 12:39, Jeremy Chang jeremy@0xlab.org wrote:
From 9a8781bb34fe1ff3463a1dc48eeeef3b33b43e2f Mon Sep 17 00:00:00 2001 From: Jeremy Chang jeremy@0xlab.org Date: Sun, 13 Feb 2011 20:49:26 +0800 Subject: [PATCH] Install 0xbench native applications
Signed-off-by: Jeremy Chang jeremy@0xlab.org
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)
-- 1.7.1