linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Mar 2014 21:55:49 +0000 (22:55 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Mar 2014 21:55:49 +0000 (22:55 +0100)
commit4ad1ea59a59f951fad072dcb19429e6f468abf05
tree66e441e2fe294aed65fc95fc5cac58f61da1d971
parent92777aa29737349ef9a3033318dd59628fe30d38
linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test

The KCONFIG_GET_OPT calls added by
ca80782f4571f004c2b8cf2d0e60e83343beff34 ('linux: only depend on
host-lzop if needed') are made even if the kernel package is not
selected. This hangs the linux.mk parsing as they try to read from a
file that doesn't exist.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/linux.mk