From c685e77c0ebf78beeb61d9d52b3e23cdff659430 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 13 Oct 2005 10:30:32 +0000 Subject: kernel.bbclass: Fix some quoting and brackets on an if statement. Reported by katossi. --- classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index df676c5a8d..463ff5f6b5 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -60,7 +60,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" kernel_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" - if ${KERNEL_MAJOR_VERSION} != "2.6"; then + if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" fi oe_runmake ${KERNEL_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" -- cgit v1.2.3