summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-10-13 10:30:32 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-13 10:30:32 +0000
commitc685e77c0ebf78beeb61d9d52b3e23cdff659430 (patch)
treee751fa481f77a3b4eebc20ef4e3d76f2b1909724 /classes
parent9360928dea52f9e8bac41dc036823f4914c0e0f6 (diff)
kernel.bbclass: Fix some quoting and brackets on an if statement. Reported by katossi.
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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}"