Re: Does 'make oldconfig' work across different architectures?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Feb 18, 2021 at 8:07 PM <ckim@xxxxxxxxxx> 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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux