Re: [PATCH] kbuild: Fail the build early when no lz4 present

kbuild test robot
2018-10-11T20:40:38Z

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

Hi Borislav,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.19-rc7 next-20181011]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Borislav-Petkov/kbuild-Fail-the-build-early-when-no-lz4-present/20181012-013752
config: i386-randconfig-b0-10112221 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> Makefile:793: *** "lz4 tool not found on this system but CONFIG_KERNEL_LZ4 enabled". Stop.
make: *** [sub-make] Error 2

vim +793 Makefile

790
791 ifdef CONFIG_KERNEL_LZ4
792 ifeq ($(CONFIG_SHELL which lz4c),)
> 793 $(error "lz4 tool not found on this system but CONFIG_KERNEL_LZ4 enabled")
794 endif
795 endif
796

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31850 bytes --]