Skip to contentSkip to conversation

build: Drop CONFIG_$ARCH_$(XEN_OS) definitions

PATCH In review Andrew Cooper 6 participants 6 messages Jun 19, 2023 – Jun 21, 2023 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Drop CONFIG_$ARCH_$(XEN_OS) definitions

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

The only user ever of this scheme was introduced in c0fd920e987 (2006) and deleted in fa2244104b4 (2010).

No functional change.

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Bob Eshleman <[email protected]>
CC: Alistair Francis <[email protected]>
CC: Connor Davis <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Shawn Anastasio <[email protected]>

The necessary rune is:

git grep -E "CONFIG_(X86|ARM|RISCV)_(FreeBSD|Linux|MiniOS|NetBSD|OpenBSD|SunOS)"

---
 config/arm32.mk   | 1 -
 config/arm64.mk   | 1 -
 config/riscv64.mk | 1 -
 config/x86_32.mk  | 1 -
 config/x86_64.mk  | 1 -
 5 files changed, 5 deletions(-)
config/arm32.mk +0 -1
index f95228e3c079..c38d89cb30fc 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_32 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/arm64.mk +0 -1
index aa45772b6173..c4662f67d044 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_64 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/riscv64.mk +0 -1
index a5a21e5fa220..91c6e53da6f8 100644
@@ -1,5 +1,4 @@
 CONFIG_RISCV := y
 CONFIG_RISCV_64 := y
-CONFIG_RISCV_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
config/x86_32.mk +0 -1
index bc96ff013d74..3cc046d9bcf3 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_32 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y
config/x86_64.mk +0 -1
index 4afef4414129..8614457b03d0 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_64 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y

base-commit: 43e863a02d81f5fff32763b23d2a39f041f7e62b

Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Andrew Cooper

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

The only user ever of this scheme was introduced in c0fd920e987 (2006) and deleted in fa2244104b4 (2010).

No functional change.

Tested-by on v1 1/1
#2 lore raw
In reply to Andrew Cooper

Hi Andrew,

Quoted 5 lines · Andrew Cooper

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

Quoted 8 lines

The only user ever of this scheme was introduced in c0fd920e987 (2006) and deleted in fa2244104b4 (2010).

No functional change.

I run it on fvp_base_revc. It works fine.

Tested-by Jiamei Xie <[email protected] <mailto:[email protected]>

Best wishes,

Jiamei

Reviewed-by on v1 1/1
#3 lore raw
In reply to Andrew Cooper
Quoted 7 lines · Andrew Cooper

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on
CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

Quoted 5 lines

The only user ever of this scheme was introduced in c0fd920e987 (2006) and
deleted in fa2244104b4 (2010).

No functional change.

Looks fine to me.

~ Oleksii

Acked-by on v1 1/1
#4 lore raw
In reply to Andrew Cooper
Quoted 11 lines · Andrew Cooper

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

The only user ever of this scheme was introduced in c0fd920e987 (2006) and deleted in fa2244104b4 (2010).

No functional change.

Quoted 84 lines

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Bob Eshleman <[email protected]>
CC: Alistair Francis <[email protected]>
CC: Connor Davis <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Shawn Anastasio <[email protected]>

The necessary rune is:

git grep -E "CONFIG_(X86|ARM|RISCV)_(FreeBSD|Linux|MiniOS|NetBSD|OpenBSD|SunOS)"

---
 config/arm32.mk   | 1 -
 config/arm64.mk   | 1 -
 config/riscv64.mk | 1 -
 config/x86_32.mk  | 1 -
 config/x86_64.mk  | 1 -
 5 files changed, 5 deletions(-)
config/arm32.mk +0 -1
index f95228e3c079..c38d89cb30fc 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_32 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/arm64.mk +0 -1
index aa45772b6173..c4662f67d044 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_64 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/riscv64.mk +0 -1
index a5a21e5fa220..91c6e53da6f8 100644
@@ -1,5 +1,4 @@
 CONFIG_RISCV := y
 CONFIG_RISCV_64 := y
-CONFIG_RISCV_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
config/x86_32.mk +0 -1
index bc96ff013d74..3cc046d9bcf3 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_32 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y
config/x86_64.mk +0 -1
index 4afef4414129..8614457b03d0 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_64 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y

base-commit: 43e863a02d81f5fff32763b23d2a39f041f7e62b

Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#5 lore raw
In reply to Andrew Cooper
Quoted 6 lines · Andrew Cooper

These aren't used, and are not obvious useful either.

tools/ does have some logic which works on $(XEN_OS) directly, and some on CONFIG_$(XEN_OS) too, but this isn't how we typically refer to things.

Quoted 6 lines

The only user ever of this scheme was introduced in c0fd920e987 (2006) and deleted in fa2244104b4 (2010).

No functional change.

Alistair

Quoted 85 lines

---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Bob Eshleman <[email protected]>
CC: Alistair Francis <[email protected]>
CC: Connor Davis <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Shawn Anastasio <[email protected]>

The necessary rune is:

git grep -E "CONFIG_(X86|ARM|RISCV)_(FreeBSD|Linux|MiniOS|NetBSD|OpenBSD|SunOS)"

---
 config/arm32.mk   | 1 -
 config/arm64.mk   | 1 -
 config/riscv64.mk | 1 -
 config/x86_32.mk  | 1 -
 config/x86_64.mk  | 1 -
 5 files changed, 5 deletions(-)
config/arm32.mk +0 -1
index f95228e3c079..c38d89cb30fc 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_32 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/arm64.mk +0 -1
index aa45772b6173..c4662f67d044 100644
@@ -1,6 +1,5 @@
 CONFIG_ARM := y
 CONFIG_ARM_64 := y
-CONFIG_ARM_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
 
config/riscv64.mk +0 -1
index a5a21e5fa220..91c6e53da6f8 100644
@@ -1,5 +1,4 @@
 CONFIG_RISCV := y
 CONFIG_RISCV_64 := y
-CONFIG_RISCV_$(XEN_OS) := y
 
 CONFIG_XEN_INSTALL_SUFFIX :=
config/x86_32.mk +0 -1
index bc96ff013d74..3cc046d9bcf3 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_32 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y
config/x86_64.mk +0 -1
index 4afef4414129..8614457b03d0 100644
@@ -1,6 +1,5 @@
 CONFIG_X86 := y
 CONFIG_X86_64 := y
-CONFIG_X86_$(XEN_OS) := y
 
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y

base-commit: 43e863a02d81f5fff32763b23d2a39f041f7e62b --
2.30.2