summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.oeclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index b8e199fcf3..53482f3213 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -69,7 +69,7 @@ kernel_do_stage() {
[ -e Rules.make ] && install -m 0644 Rules.make ${STAGING_KERNEL_DIR}/
[ -e Makefile ] && install -m 0644 Makefile ${STAGING_KERNEL_DIR}/
# Makefile includes arch/mips/Makefile on mips
- if [ ARCH="mips" ]; then
+ if [ "${ARCH}" = "mips" ]; then
install -d ${STAGING_KERNEL_DIR}/arch/mips
install -m 0644 arch/mips/Makefile ${STAGING_KERNEL_DIR}/arch/mips
fi