diff options
| author | flar2 <asegaert@gmail.com> | 2014-11-26 23:08:56 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-08-31 01:38:28 +0200 |
| commit | acde96c453fea46d5378df8ba1fa1a8b75bd59bf (patch) | |
| tree | 9e83444f813638f127b4071b2772171528cedb6a /arch/arm | |
| parent | 188c27f6ee46d274ad644503faaaed1248719659 (diff) | |
Apply CFLAGS, -Os to decompress.o to improve decompress performance during boot-up process
Signed-off-by: flar2 <asegaert@gmail.com>
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/boot/compressed/Makefile | 3 |
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) |
