diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-01-23 18:34:46 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-01-23 18:34:46 -0800 |
commit | ffc1260a51cc6e08d1d6fe90d233a400808fe39a (patch) | |
tree | 42866d312ebc225161aadd90fe19a3fddea9f11a /recipes/v8/v8_svn.bb | |
parent | e5274a6cceb56653971f355a4f19079831efb832 (diff) | |
download | openembedded-ffc1260a51cc6e08d1d6fe90d233a400808fe39a.tar.gz |
v8: Add recipes for v8/google's opensource JavaScript Engine
* Fixed Bugzilla/5486
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/v8/v8_svn.bb')
-rw-r--r-- | recipes/v8/v8_svn.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/recipes/v8/v8_svn.bb b/recipes/v8/v8_svn.bb new file mode 100644 index 0000000000..aab0fc2458 --- /dev/null +++ b/recipes/v8/v8_svn.bb @@ -0,0 +1,55 @@ +# v8 OE build file +# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) +DESCRIPTION = "V8 is Google's open source JavaScript engine." +HOMEPAGE = "http://code.google.com/p/v8/" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "BSD" +PR = "r0" + +PV = "0.0+svnr${SRCPV}" +SRCREV = "3431" + +SRC_URI = "svn://v8.googlecode.com/svn/;module=trunk;proto=http;rev=${SRCREV} \ + file://SConstruct.patch \ + file://0004-add-the-install-target.patch \ + " + +S = "${WORKDIR}/trunk" + +export V8_TARGET_ARCH_ARM = "\ + -msoft-float \ + -fpic \ + -funwind-tables \ + -fstack-protector \ + -fno-short-enums \ + -fmessage-length=0 \ + -finline-functions \ + -fno-inline-functions-called-once \ + -fgcse-after-reload \ + -frerun-cse-after-loop \ + -frename-registers \ + -fomit-frame-pointer \ + -fno-strict-aliasing \ + -finline-limit=64 \ + -MD \ + -D__ARM_ARCH_5__ \ + -D__ARM_ARCH_5T__ \ + -D__ARM_ARCH_5TE__ \ + " + +export LINKFLAGS = "${LDFLAGS}" + +SCONS_EXTRA_COMPILE_ARGS = "\ + arch=${TARGET_ARCH} \ + importenv=PATH,LINKFLAGS,V8_TARGET_ARCH_ARM \ + library=shared \ + soname=on \ + shlibtype=hidden \ + " + +SCONS_EXTRA_INSTALL_ARGS = "${SCONS_EXTRA_COMPILE_ARGS}" + +inherit scons + |