summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-09-29 19:49:53 -0600
committerTom Rini <[email protected]>2024-10-11 11:44:48 -0600
commitc46760d5967d12b6f7d37402878d1607a98b2b84 (patch)
tree29cfaebd9f6c4181425626d7b5e99930a1d2e507 /doc/develop
parent53abdda2f69a44c3273deebcf2b25587b8623a65 (diff)
global: Rename SPL_ to XPL_
Use XPL_ as the symbol to indicate an SPL build. This means that SPL_ is no-longer set. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'doc/develop')
-rw-r--r--doc/develop/tests_writing.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/develop/tests_writing.rst b/doc/develop/tests_writing.rst
index a328ebfef33..54efb7e1b04 100644
--- a/doc/develop/tests_writing.rst
+++ b/doc/develop/tests_writing.rst
@@ -321,15 +321,15 @@ to control that.
Finally, add the test to the build by adding to the Makefile in the same
directory::
- obj-$(CONFIG_$(SPL_)CMDLINE) += wibble.o
+ obj-$(CONFIG_$(XPL_)CMDLINE) += wibble.o
Note that CMDLINE is never enabled in SPL, so this test will only be present in
U-Boot proper. See below for how to do SPL tests.
As before, you can add an extra Kconfig check if needed::
- ifneq ($(CONFIG_$(SPL_)WIBBLE),)
- obj-$(CONFIG_$(SPL_)CMDLINE) += wibble.o
+ ifneq ($(CONFIG_$(XPL_)WIBBLE),)
+ obj-$(CONFIG_$(XPL_)CMDLINE) += wibble.o
endif