mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Local kernel tree config option
Date: Thu, 5 Jan 2012 15:17:44 +0100	[thread overview]
Message-ID: <20120105141744.GO21393@pengutronix.de> (raw)
In-Reply-To: <10611326.vmuEkP2ynv@ws-stein>

Hi,

On Thu, Jan 05, 2012 at 02:40:20PM +0100, Alexander Stein wrote:
> On Thursday 05 January 2012 13:21:31 jean-philippe francois wrote:
> > > It was replaced with a more generic option. I guess we need to update
> > > the
> > > docs:
> > > 
> > > $ ln -s /path/to/your/kernel/tree
> > > <BSP>/local_src/kernel.<platform-suffix>
> > I am sorry, but I can't seem to make it work.
> > I am using ptxdist 2011.12.0, and if I do
> > ptxdist kernelconfig, it will try to download the kernel.
> 
> AFAIK this is still done, although not necessary. Known bug, Robert wrote 
> about it some time ago.
> As you seem to have an own kernel name, I would just touch the file it wants 
> to download in src/ and you should be fine.

Yes of course. The tarball is still needed. This is a development feature.
- Select the base kernel version in platformconfig (this will be downloaded)
- work on the kernel tree in local_src/kernel.<platform>
- export the final patches and remove local_src/kernel.<platform>

For something permanent it _may_ work to overwrite KERNEL_URL:

$ cat rules/post/fixup.make
KERNEL_URL := file://$(PTXDIST_WORKSPACE)/local_src/my-special-kernel
$

But I'm not sure if that really works for the kernel.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-05 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 13:16 Andre Haupt
2011-11-08 15:36 ` Andre Haupt
2011-11-09 16:54   ` Michael Olbrich
2011-11-10  9:08     ` Andre Haupt
2012-01-05 12:21     ` jean-philippe francois
2012-01-05 13:06       ` Michael Olbrich
2012-01-05 13:32         ` jean-philippe francois
2012-01-05 13:40       ` Alexander Stein
2012-01-05 14:17         ` Michael Olbrich [this message]
2012-04-10 20:55           ` Jerry Kirk
2012-04-10 20:59             ` Bernhard Walle

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=20120105141744.GO21393@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox