All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Darander <anders@chargestorm.se>
To: <openembedded-devel@lists.openembedded.org>
Cc: Anders Darander <anders@chargestorm.se>
Subject: [meta-oe][PATCH 0/1] ktap: deterministic build
Date: Tue, 7 Jan 2014 13:39:45 +0100	[thread overview]
Message-ID: <cover.1389098317.git.anders@chargestorm.se> (raw)


Add some configuration to the build process of ktap, to get a more 
deterministic build. Currently, the v0.4 recipe will build with 
libelf support (from the elfutils recipe), if that is found during
the compile stage, thus we have a non-deterministic build going on.

At the same time, I'm also adding support for the FFI configuration.
This part has only been imlemented with a limited build test, as it's
only supported on x86_64 (which I'm not normally building for).

The configuration of both LIBELF and FFI has been implemented using 
PACKAGECONFIG, even though it's only the LIBELF part that make any 
real use of that infrastructure. For FFI, it's only been used to get
a consistent configuration tool for both options.


    * basic FFI support (depend on CONFIG_KTAP_FFI)
	FFI will allow call kernel function from ktap script

	cdef [[ int printk(char *fmt, ...); ]]
	C.printk("this is ffi printk from ktap\n")

	(currently only support basic C types, structure support is ongoing)
The following changes since commit 6daf75e4e980b86d6e0a12513764044f7ea711be:

  Update after toplevel LICENSE file checksum change (2014-01-04 08:47:18 +0100)

are available in the git repository at:

  git://github.com/darander/meta-oe ktap_v0.4
  https://github.com/darander/meta-oe/tree/ktap_v0.4

Anders Darander (1):
  ktap: add configs for elfutils and ffi

 meta-oe/recipes-kernel/ktap/ktap-module_0.4.bb |  5 ++++-
 meta-oe/recipes-kernel/ktap/ktap.inc           |  2 ++
 meta-oe/recipes-kernel/ktap/ktap_0.4.bb        | 12 +++++++++++-
 3 files changed, 17 insertions(+), 2 deletions(-)

-- 
1.8.5.2



             reply	other threads:[~2014-01-07 12:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 12:39 Anders Darander [this message]
2014-01-07 12:39 ` [meta-oe][PATCH 1/1] ktap: add configs for elfutils and ffi Anders Darander
2014-01-07 13:08   ` Martin Jansa
2014-01-07 13:31     ` Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1389098317.git.anders@chargestorm.se \
    --to=anders@chargestorm.se \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.