[PATCH 0/4] Adjusting x86 Target Goals
Elliott Mitchell
ehem+openwrt at m5p.com
Sun Mar 12 17:15:09 PDT 2023
"Pentium4" was never generic for x86. Certainly Intel made plenty of
P4s, and they kept their extras with the ia32-only Core processors. Yet
this excludes all AMD processors, all Cyrix processors, and all Transmeta
processors.
Further while those extras do add value, the value is limited. Meanwhile
"Pentium Pro"/"i686" add one item of great value, SMP support. I've seen
several OSes/distributions target i686, but OpenWRT is the very first
I've seen which selected P4.
At this point calling a non-amd64 x86 build "generic" is a misnomer.
Certainly amd64 may not have flooded out earlier processors in the
embedded space, but it is only a matter of time.
Notes: This has been confirmed to build, but this hasn't been well
checked and there could be bugs. For OpenWRT one can argue "generic"
shouldn't point at amd64. At a minimum though a x86 "generic" should
NOT point at non-amd64.
Elliott Mitchell (4):
packages/x86: detect architecture, not x86/64 target
kernel/x86: revert "generic" to i686 ("Pentium Pro")
kernel/x86: rename "generic" to i686
kernel/x86: move "64" to "generic"
package/firmware/intel-microcode/Makefile | 2 +-
package/kernel/linux/modules/crypto.mk | 2 +-
package/kernel/linux/modules/virt.mk | 6 +-
package/libs/wolfssl/Makefile | 2 +-
target/linux/x86/64/target.mk | 6 -
target/linux/x86/Makefile | 2 +-
target/linux/x86/generic/config-5.10 | 251 +++++++++-------
target/linux/x86/generic/config-5.15 | 267 +++++++++++-------
target/linux/x86/generic/target.mk | 8 +-
.../base-files/lib/preinit/45_mount_xenfs | 0
target/linux/x86/{64 => i686}/config-5.10 | 251 +++++++---------
target/linux/x86/{64 => i686}/config-5.15 | 267 +++++++-----------
target/linux/x86/{generic => i686}/target.mk | 6 +-
target/linux/x86/modules.mk | 4 +-
14 files changed, 532 insertions(+), 542 deletions(-)
delete mode 100644 target/linux/x86/64/target.mk
rename target/linux/x86/{64 => i686}/base-files/lib/preinit/45_mount_xenfs (100%)
rename target/linux/x86/{64 => i686}/config-5.10 (67%)
rename target/linux/x86/{64 => i686}/config-5.15 (66%)
copy target/linux/x86/{generic => i686}/target.mk (59%)
--
2.30.2
More information about the openwrt-devel
mailing list