Kernel Newbies Archive on lore.kernel.org
 help / color / Atom feed
* Re: Does 'make oldconfig' work across different architectures?
       [not found] <020a01d7066c$5120d5e0$f36281a0$@etri.re.kr>
@ 2021-02-19  4:53 ` jim.cromie
  0 siblings, 0 replies; only message in thread
From: jim.cromie @ 2021-02-19  4:53 UTC (permalink / raw)
  To: ckim; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 1028 bytes --]

On Thu, Feb 18, 2021 at 8:07 PM <ckim@etri.re.kr> wrote:

> Hello folks,
>
> When we want to use an old .config file for a new kernel build, we can use
> (place in build location) that .config and do ‘make oldconfig’ so that the
> build system lets us to fill the new config variables.
>
> I'm curious if this 'make oldconfig' will work if the old .config is from
> different architecture (like sparc) and I have to configure it for aarch64.
>
> The old .config file is a minimal configuration with timer, interrupt
> controller and uart for minimal linux booting.
>
> Thanks!
>
Chan Kim
> ______


you need to define "working".

I bet it would work to produce a config that is syntactically correct.
whether it builds a bootable kernel is less clear.

Ive only built and installed to hw 1 non-x86 kernel,
so my experience isnt relevant to other arches, ymmv

ISTM
you should try defconfig for aarch64
your .config, updated with oldconfig
diff them, see whats happened to various CONFIG vars

[-- Attachment #1.2: Type: text/html, Size: 2170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <020a01d7066c$5120d5e0$f36281a0$@etri.re.kr>
2021-02-19  4:53 ` Does 'make oldconfig' work across different architectures? jim.cromie

Kernel Newbies Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git