From 925c447a51ccc44f8b3697f6fe7397d906fe67f2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Nov 2005 12:04:54 +0000 Subject: Updates from OE git-svn-id: https://svn.o-hand.com/repos/poky@170 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openembedded/classes/kernel.bbclass') diff --git a/openembedded/classes/kernel.bbclass b/openembedded/classes/kernel.bbclass index df676c5a8..463ff5f6b 100644 --- a/openembedded/classes/kernel.bbclass +++ b/openembedded/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