summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2022-10-20 16:30:47 +0300
committerTom Rini <trini@konsulko.com>2022-10-26 15:21:11 -0400
commit3a82cd26ee60ca31adb10f379b098add329acddb (patch)
tree4b49a9539e07e10c2a5c54d0b21fa2cd55d90bb7 /scripts
parent2c120375e949807ce8e3b077d6537e2d8d69a87c (diff)
scripts: Makefile.spl: Enable memory drivers to be built for SPL
Introduce CONFIG_SPL_MEMORY to allow Memory drivers to be built for SPL. Signed-off-by: Roger Quadros <rogerq@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 0b3a51da13..15ac87286d 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -114,6 +114,7 @@ libs-$(CONFIG_PARTITIONS) += disk/
endif
libs-y += drivers/
+libs-$(CONFIG_SPL_MEMORY) += drivers/memory/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/
libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/cdns3/
libs-y += dts/