summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--button-hotplug/button-hotplug.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/button-hotplug/button-hotplug.bb b/button-hotplug/button-hotplug.bb
index 0e17487..99714b8 100644
--- a/button-hotplug/button-hotplug.bb
+++ b/button-hotplug/button-hotplug.bb
@@ -18,8 +18,9 @@ PACKAGES += "kernel-module-button-hotplug"
INSANE_SKIP_${PN} = "dev"
do_compile() {
+ unset LDFLAGS
make -C "${STAGING_KERNEL_BUILDDIR}" \
- ARCH="arm" \
+ ARCH="${ARCH}" \
CROSS_COMPILE='${TARGET_PREFIX}' \
SUBDIRS="${S}/../" \
modules