All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "make config" to another architecture doesn't relink include/asm
Date: Fri, 22 May 2009 14:45:29 -0400	[thread overview]
Message-ID: <4A16F2C9.1000600@tmr.com> (raw)
In-Reply-To: <alpine.LFD.2.00.0905221219500.13933@localhost.localdomain>

Robert P. J. Day wrote:
>   should i expect this with a fresh tree on x86_64?
> 
> $ make distclean
> $ make defconfig
> $ make modules_prepare
> $ ls -l include/asm
> lrwxrwxrwx    1 rpjday rpjday     7 2009-05-22 12:24 asm -> asm-x86
> $
> 
>   oh, wait, i changed my mind, i want to switch architectures so start
> over:
> 
> $ make clean
> $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
> $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
> scripts/kconfig/conf -s arch/arm/Kconfig
> include/config/auto.conf:15:warning: symbol value 'arch/x86/configs/x86_64_defconfig' invalid for ARCH_DEFCONFIG
>   CHK     include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
> ERROR: the symlink include/asm points to asm-x86 but asm-arm was expected
>        set ARCH or save .config and run 'make mrproper' to fix it
> make: *** [include/asm] Error 1
> 
> $ ls -l include/asm
> lrwxrwxrwx 1 rpjday rpjday 7 2009-05-22 12:24 include/asm -> asm-x86
> $
> 
>   shouldn't it be sufficient that, if i do another "make ??_defconfig"
> to another architecture, all traces of the previous configure are
> erased and include/asm should be relinked automatically?
> 
Does "make distclean" (or maybe "make mrproper") get you to really clean status?

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

  reply	other threads:[~2009-05-22 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 16:31 "make config" to another architecture doesn't relink include/asm Robert P. J. Day
2009-05-22 18:45 ` Bill Davidsen [this message]
2009-05-22 19:36   ` Robert P. J. Day
2009-05-23 11:22 ` Arnd Bergmann
2009-05-23 11:35   ` Michael S. Zick
2009-05-23 14:11   ` Robert P. J. Day

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=4A16F2C9.1000600@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@crashcourse.ca \
    /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.