aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/rotary-gpio-custom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/rotary-gpio-custom/Makefile')
-rw-r--r--package/kernel/rotary-gpio-custom/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/rotary-gpio-custom/Makefile b/package/kernel/rotary-gpio-custom/Makefile
index e1cf7ff1de..f758567365 100644
--- a/package/kernel/rotary-gpio-custom/Makefile
+++ b/package/kernel/rotary-gpio-custom/Makefile
@@ -33,8 +33,7 @@ EXTRA_CFLAGS:= \
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
MAKE_OPTS:= \
- ARCH="$(LINUX_KARCH)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
+ $(KERNEL_MAKE_FLAGS) \
SUBDIRS="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
$(EXTRA_KCONFIG)