All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Create a symbolic link to the target kernel directory. example
Date: Thu, 1 Nov 2012 23:24:35 +0100	[thread overview]
Message-ID: <20121101232435.06994360@skate> (raw)
In-Reply-To: <D4127A04D6B846E881F6B42F61985647@JohanW7>

Dear Sagaert Johan,

On Thu, 1 Nov 2012 20:10:26 +0100, Sagaert Johan wrote:

> KERNELDIR=/home/buildroot12git/output/build/linux-76e10d158efb6d4516018846f60c2ab5501900bc

Turn this into:

KERNELDIR=$(shell ls -1 /home/buildroot12git/output/build/linux-[0-9a-f]*)

or, if you want something cleaner, add a <pkg>-show-builddir target for
all packages in pkg-generic.mk (we could probably get this patch
upstream), and do:

KERNELDIR=($shell make -C /home/buildroot12git/ linux-show-builddir)

And voil?.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2012-11-01 22:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01  0:17 [Buildroot] [PATCH 1/1] Create a symbolic link to the target kernel directory Sagaert Johan
2012-11-01  1:07 ` Arnout Vandecappelle
2012-11-01  1:14   ` Sagaert Johan
2012-11-01  9:19     ` Thomas Petazzoni
2012-11-01 19:10       ` [Buildroot] [PATCH 1/1] Create a symbolic link to the target kernel directory. example Sagaert Johan
2012-11-01 22:24         ` Thomas Petazzoni [this message]

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=20121101232435.06994360@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.