diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index 8042f994b1..93cd0c8afb 100644 --- a/target/linux/Makefile.in.advanced +++ b/target/linux/Makefile.in.advanced @@ -110,8 +110,8 @@ endif endif # Override config method with shell variable -ifneq ($(BUILDROOT_KERNEL_CONFIG_METHOD),) -KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BUILDROOT_KERNEL_CONFIG_METHOD))) +ifneq ($(BUILDROOT_USE_XWINDOWS),) +KERNEL_CONFIG_METHOD:=xconfig #")) else KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD)))