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