diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-08-31 21:31:25 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-09-23 21:55:29 +0200 |
commit | fbb3ea806f62b7e27bbae86c42d8f73f05de4bd7 (patch) | |
tree | 5b5fd3bc48f9c6f3bdaa7b03c6276327330bcb89 /lib/Makefile | |
parent | 7a9e6ee6eb83b1dd91032d246702555d7b5a8452 (diff) | |
download | u-boot-fbb3ea806f62b7e27bbae86c42d8f73f05de4bd7.tar.gz |
lib: build charset.o only if needed
charset.o is only needed for the EFI subsystem
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 5f583aed37..2fd32798a0 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -19,7 +19,10 @@ obj-$(CONFIG_ARCH_AT91) += at91/ obj-$(CONFIG_OPTEE) += optee/ obj-$(CONFIG_AES) += aes.o -obj-y += charset.o + +ifndef API_BUILD +obj-$(CONFIG_EFI_LOADER) += charset.o +endif obj-$(CONFIG_USB_TTY) += circbuf.o obj-y += crc7.o obj-y += crc8.o |