All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 06/10] *-menuconfig needs dirs to exist
Date: Fri, 9 Oct 2009 13:54:25 +0200	[thread overview]
Message-ID: <20091009115425.GN2266@mx.loc> (raw)
In-Reply-To: <87iqeohkam.fsf@macbook.be.48ers.dk>

On Fri, Oct 09, 2009 at 01:35:29PM +0200, Peter Korsgaard wrote:

>I have no problem adding fixes, but I want to understand what - if
>anything, it fixes.

one last attempt.

$ rm -rf buildroot
$ git clone --depth 1 git://git.uclibc.org/git/buildroot.git && cd buildroot
$ make
select linux kernel, same as headers. Set format to e.g. bzImage; save
and exit. you have e.g.:
$ egrep "^BR2_(.*LINUX|KERNEL)" .config
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_KERNEL_HEADERS_2_6_31=y
BR2_KERNEL_LINUX=y
BR2_PACKAGE_LINUX=y
BR2_PACKAGE_LINUX_KCONFIG=""
BR2_PACKAGE_LINUX_FORMAT="bzImage"

cool, so let's configure the beast:
$ make linux26-menuconfig
--2009-10-09 13:43:42--
http://www.kernel.org/pub//linux/kernel/v2.6//linux-2.6.31.2.tar.bz2
Resolving proxy.loc... 192.168.100.36
Connecting to proxy.loc|192.168.100.36|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 61449156 (59M) [application/x-bzip2]
Saving to: `./dl/linux-2.6.31.2.tar.bz2'

100%[======================================>] 61,449,156   384K/s   in
2m 35s  

2009-10-09 13:46:19 (387 KB/s) - `./dl/linux-2.6.31.2.tar.bz2' saved
[61449156/61449156]

rm -rf /tmp/buildroot/output/build/linux-2.6.31.2
*** Unpacking kernel source
bzcat ./dl/linux-2.6.31.2.tar.bz2 | tar -C /tmp/buildroot/output/build
-xf -
tar: /tmp/buildroot/output/build: Cannot chdir: No such file or
directory
tar: Error is not recoverable: exiting now
make: *** [/tmp/buildroot/output/build/linux-2.6.31.2/.unpacked] Error 2

Note that this is an obvious breakage. Look at the makefiles, who do you
think should have created the build-dir before that?
And yes, just BUILD_DIR, like busybox does would be sufficient, but
later on you will experience that if you just specify BUILD_DIR as
prereq then you will die in funny ways for toplevel-parallel makes.
(I can almost hear you saying that this isn't supported right now, so:
yes, it isn't but let's just fix it properly to avoid this future
problem, ok?)

.

  reply	other threads:[~2009-10-09 11:54 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 20:08 [Buildroot] [PATCH 00/14] misc cleanups Bernhard Reutner-Fischer
2009-10-07 20:08 ` [Buildroot] [PATCH 01/14] allow menuconfig without a LINUX26_KCONFIG file Bernhard Reutner-Fischer
2009-10-07 20:08   ` [Buildroot] [PATCH 02/14] Allow for specifying kernel version manually Bernhard Reutner-Fischer
2009-10-07 20:08     ` [Buildroot] [PATCH 03/14] handle MMU configuration Bernhard Reutner-Fischer
2009-10-07 20:08       ` [Buildroot] [PATCH 04/14] expand arch selection Bernhard Reutner-Fischer
2009-10-07 20:08         ` [Buildroot] [PATCH 05/14] remove superfluous OPTIMIZE and DEBUG config knobs Bernhard Reutner-Fischer
2009-10-07 20:08           ` [Buildroot] [PATCH 06/14] allow for testing gcc-4.5 Bernhard Reutner-Fischer
2009-10-07 20:08             ` [Buildroot] [PATCH 07/14] *-menuconfig needs dirs to exist Bernhard Reutner-Fischer
2009-10-07 20:08               ` [Buildroot] [PATCH 08/14] remove BR2_FPU_SUFFIX Bernhard Reutner-Fischer
2009-10-07 20:08                 ` [Buildroot] [PATCH 09/14] tidy up ROOTFS_{PRE,SUF}FIX handling Bernhard Reutner-Fischer
2009-10-07 20:08                   ` [Buildroot] [PATCH 10/14] honour DISABLE_IPV6 Bernhard Reutner-Fischer
2009-10-07 20:08                     ` [Buildroot] [PATCH 11/14] disable-locale implies turning off locale and iconv Bernhard Reutner-Fischer
2009-10-07 20:08                       ` [Buildroot] [PATCH 12/14] rsync: bump version Bernhard Reutner-Fischer
2009-10-07 20:08                         ` [Buildroot] [PATCH 13/14] enable config.cache per default Bernhard Reutner-Fischer
2009-10-07 20:08                           ` [Buildroot] [PATCH 14/14] libpcap, tcpdump: bump version and autotoolify Bernhard Reutner-Fischer
2009-10-27  8:28                             ` Peter Korsgaard
2009-10-07 20:59                           ` [Buildroot] [PATCH 13/14] enable config.cache per default Peter Korsgaard
2009-10-07 21:19                             ` Bernhard Reutner-Fischer
2009-10-09 10:00                             ` Thomas Petazzoni
2009-10-09 10:55                               ` Bernhard Reutner-Fischer
2009-10-07 20:52                         ` [Buildroot] [PATCH 12/14] rsync: bump version Peter Korsgaard
2009-10-07 20:59                           ` Bernhard Reutner-Fischer
2009-10-07 21:44                         ` Peter Korsgaard
2009-10-07 20:36                     ` [Buildroot] [PATCH 10/14] honour DISABLE_IPV6 Peter Korsgaard
2009-10-07 20:40                       ` Bernhard Reutner-Fischer
2009-10-07 20:58                     ` Peter Korsgaard
2009-10-09  9:57                   ` [Buildroot] [PATCH 09/14] tidy up ROOTFS_{PRE,SUF}FIX handling Thomas Petazzoni
2009-10-07 20:35                 ` [Buildroot] [PATCH 08/14] remove BR2_FPU_SUFFIX Peter Korsgaard
2009-10-09  9:56                 ` Thomas Petazzoni
2009-10-07 20:30               ` [Buildroot] [PATCH 07/14] *-menuconfig needs dirs to exist Peter Korsgaard
2009-10-08  9:32                 ` [Buildroot] [PATCH 06/10] " Bernhard Reutner-Fischer
2009-10-08 18:55                   ` Peter Korsgaard
2009-10-08 19:08                     ` Bernhard Reutner-Fischer
2009-10-08 20:35                       ` Peter Korsgaard
2009-10-09  9:38                         ` Bernhard Reutner-Fischer
2009-10-09 11:19                           ` Peter Korsgaard
2009-10-09 11:26                             ` Bernhard Reutner-Fischer
2009-10-09 11:35                               ` Peter Korsgaard
2009-10-09 11:54                                 ` Bernhard Reutner-Fischer [this message]
2009-10-09 12:07                                   ` Peter Korsgaard
2009-10-09 12:39                                     ` Bernhard Reutner-Fischer
2009-10-09 13:40                                       ` Peter Korsgaard
2009-10-07 20:24             ` [Buildroot] [PATCH 06/14] allow for testing gcc-4.5 Peter Korsgaard
2009-10-07 20:33               ` Bernhard Reutner-Fischer
2009-10-07 21:00                 ` Peter Korsgaard
2009-10-07 21:22                   ` Bernhard Reutner-Fischer
2009-10-07 20:23         ` [Buildroot] [PATCH 04/14] expand arch selection Peter Korsgaard
2009-10-07 20:38           ` Bernhard Reutner-Fischer
2009-10-07 21:02             ` Peter Korsgaard
2009-10-07 20:26       ` [Buildroot] [PATCH 03/14] handle MMU configuration Peter Korsgaard
2009-10-07 20:32         ` Bernhard Reutner-Fischer
2009-10-07 21:01           ` Peter Korsgaard
2009-10-09  9:53       ` [Buildroot] [PATCH 03/14] RESEND: " Thomas Petazzoni
2009-10-09 10:49         ` Bernhard Reutner-Fischer
2009-10-09 11:22         ` Peter Korsgaard
2009-10-09 11:39           ` Bernhard Reutner-Fischer
2009-10-09 11:44             ` Peter Korsgaard
2009-10-09 12:06               ` Bernhard Reutner-Fischer
2009-10-09 12:10                 ` Peter Korsgaard
2009-10-27  8:22     ` [Buildroot] [PATCH 02/14] Allow for specifying kernel version manually Peter Korsgaard
2009-10-07 20:14   ` [Buildroot] [PATCH 01/14] allow menuconfig without a LINUX26_KCONFIG file Peter Korsgaard

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=20091009115425.GN2266@mx.loc \
    --to=rep.dot.nop@gmail.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.