aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflar2 <asegaert@gmail.com>2014-11-26 23:08:56 -0500
committerMister Oyster <oysterized@gmail.com>2017-08-31 01:38:28 +0200
commitacde96c453fea46d5378df8ba1fa1a8b75bd59bf (patch)
tree9e83444f813638f127b4071b2772171528cedb6a
parent188c27f6ee46d274ad644503faaaed1248719659 (diff)
Apply CFLAGS, -Os to decompress.o to improve decompress performance during boot-up process
Signed-off-by: flar2 <asegaert@gmail.com>
-rw-r--r--arch/arm/boot/compressed/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 120b83bfd..36dd9aa8e 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -27,6 +27,9 @@ OBJS += misc.o decompress.o
ifeq ($(CONFIG_DEBUG_UNCOMPRESS),y)
OBJS += debug.o
endif
+ifeq ($(CONFIG_KERNEL_LZ4),y)
+CFLAGS_decompress.o := -Os
+endif
FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c
# string library code (-Os is enforced to keep it much smaller)