]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
boot: Drop unnecessary ifdef for LOAD_FIT
authorSimon Glass <sjg@chromium.org>
Mon, 30 Sep 2024 01:49:25 +0000 (19:49 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2024 17:44:46 +0000 (11:44 -0600)
Use the normal SPL_TPL_ approach for this option.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/Makefile

index f4675d6ffd5015e270b23c9ec53c9b98ba2a3a67..40e2337de0f08581bfd2878c20a012fd5ba0deb6 100644 (file)
@@ -58,9 +58,7 @@ obj-$(CONFIG_$(SPL_TPL_)FIT_CIPHER) += image-cipher.o
 
 obj-$(CONFIG_CMD_ADTIMG) += image-android-dt.o
 
-ifdef CONFIG_SPL_BUILD
-obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o
-endif
+obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += common_fit.o
 
 obj-$(CONFIG_$(SPL_TPL_)EXPO) += expo.o scene.o expo_build.o
 obj-$(CONFIG_$(SPL_TPL_)EXPO) += scene_menu.o scene_textline.o