summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-03-09 13:26:09 -0400
committerTom Rini <trini@embeddedalley.com>2009-03-09 13:26:09 -0400
commit9924dde8ff17d8021a7d4b219ad4212f99f377bb (patch)
tree4586cda54c1316d692e92f76cfb855d3ce16670e /classes
parent1a9a1936a387ba0d18b276da6460c72491856426 (diff)
Revert "module-base: Fix the test on KERNEL_OBJECT_SUFFIX"
This reverts commit 25b281668e62d90c027978b13b53075534b81d0c. As pointed out by Pieter <pieterg@gmx.com> my logic here was backwards and the code was correct before and this change is incorrect.
Diffstat (limited to 'classes')
-rw-r--r--classes/module-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/module-base.bbclass b/classes/module-base.bbclass
index 185803ebba..c98baceeab 100644
--- a/classes/module-base.bbclass
+++ b/classes/module-base.bbclass
@@ -7,7 +7,7 @@ export CROSS_COMPILE = "${TARGET_PREFIX}"
export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}"
export KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}"
-KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') < "2.6.0"]}"
+KERNEL_OBJECT_SUFFIX = "${@[".o", ".ko"][base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion') > "2.6.0"]}"
KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}"
KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}"
KERNEL_ARSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-arsuffix')}"