summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-10 21:14:22 -0600
committerTom Rini <trini@konsulko.com>2021-07-28 14:27:54 -0400
commit5f57b00c854fcb7c170daba079cdb3b6dd96283a (patch)
treeec356b634c06a36e4414fbde1fcbf6f8290bff55 /Makefile
parent6e73ed0080607a5c5d4e2338ef081862405a34f2 (diff)
downloadu-boot-5f57b00c854fcb7c170daba079cdb3b6dd96283a.tar.gz
u-boot-5f57b00c854fcb7c170daba079cdb3b6dd96283a.tar.bz2
u-boot-5f57b00c854fcb7c170daba079cdb3b6dd96283a.zip
Makefile: Sort the subdirectories
Adjust the subdirectories included in this file so that they are in alphabetical order. This makes it easier to follow. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index dc21066b08..b370ee2089 100644
--- a/Makefile
+++ b/Makefile
@@ -802,9 +802,13 @@ c_flags := $(KBUILD_CFLAGS) $(cpp_flags)
HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(srctree)/board/$(VENDOR)/common/Makefile),y,n)
-libs-y += lib/
+libs-$(CONFIG_API) += api/
libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/
+libs-y += cmd/
+libs-y += common/
libs-$(CONFIG_OF_EMBED) += dts/
+libs-y += env/
+libs-y += lib/
libs-y += fs/
libs-y += net/
libs-y += disk/
@@ -841,10 +845,6 @@ libs-y += drivers/usb/musb/
libs-y += drivers/usb/musb-new/
libs-y += drivers/usb/phy/
libs-y += drivers/usb/ulpi/
-libs-y += cmd/
-libs-y += common/
-libs-y += env/
-libs-$(CONFIG_API) += api/
ifdef CONFIG_POST
libs-y += post/
endif