Re: [RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-06 Thread Simon Glass
Hi Tom, On Wed, 5 Mar 2025 at 08:49, Tom Rini wrote: > > On Wed, Mar 05, 2025 at 07:15:50AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote: > > > > > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > > > Makefiles as part of the

Re: [RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-05 Thread Tom Rini
On Wed, Mar 05, 2025 at 07:15:50AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote: > > > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > > Makefiles as part of the macros to determine when to do something in our > > Makefiles based on

Re: [RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-05 Thread Simon Glass
Hi Tom, On Tue, 4 Mar 2025 at 13:41, Tom Rini wrote: > > It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our > Makefiles as part of the macros to determine when to do something in our > Makefiles based on what phase of the build we are in. For consistency, > bring this down to a

[RFC PATCH] Kbuild: Always use $(PHASE_)

2025-03-04 Thread Tom Rini
It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our Makefiles as part of the macros to determine when to do something in our Makefiles based on what phase of the build we are in. For consistency, bring this down to a single macro and use "$(PHASE_)" only. Signed-off-by: Tom Rini