aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/w1-gpio-custom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/w1-gpio-custom/Makefile')
-rw-r--r--package/kernel/w1-gpio-custom/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/w1-gpio-custom/Makefile b/package/kernel/w1-gpio-custom/Makefile
index 67fdc7d15e..1008cf9736 100644
--- a/package/kernel/w1-gpio-custom/Makefile
+++ b/package/kernel/w1-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)