view README @ 235:5ba9c2a51405

8133577: DeviceManager.register() and DeviceManager.unregister() must check the permissions FIRST Summary: SE is checked first Reviewed-by: alkonsta
author snazarki
date Thu, 13 Aug 2015 21:02:44 +0300
parents 7e28d40db785
children
line wrap: on
line source
README:

This file should be located at the root of the device-io OpenJDK Mercurial repository.

People unfamiliar with Mercurial should read the first few chapters of
  the Mercurial book: http://hgbook.red-bean.com/read/

Simple Build Instructions for the Raspberry Pi:

  The Device I/O build is currently supoorted as a cross-compile on a Linux x86 host for the Raspberry Pi.

  Required tools: Linaro GCC 4.7.2 ARM toolchain, JDK 8, GNU make 3.81 or newer

  export PI_TOOLS=<location of Linaro GCC tool install>
  export JAVA_HOME=<location of JDK8 install>
  make

To make build for i386 cpu arch on x86-64 platform following flags need to be set:
   CPU_ARCH=i386
   export USER_C_FLAGS="-march=$CPU_ARCH -m32"
   export USER_CXX_FLAGS="-march=$CPU_ARCH -m32"
   export USER_LD_FLAGS="-march=$CPU_ARCH -m32"
   make  TARGET_CPU_LEGACY_LIB=$CPU_ARCH

The resulting Device I/O library files should be found in build/jar and build/so