aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9c316e9d0..0a5f86929 100644
--- a/Makefile
+++ b/Makefile
@@ -508,6 +508,8 @@ ifeq ($(dot-config),1)
508# To avoid any implicit rule to kick in, define an empty command 508# To avoid any implicit rule to kick in, define an empty command
509.config .kconfig.d: ; 509.config .kconfig.d: ;
510 510
511-include $(srctree)/arch/$(ARCH)/Makefile
512
511# Now we can define CFLAGS etc according to .config 513# Now we can define CFLAGS etc according to .config
512include $(srctree)/Makefile.flags 514include $(srctree)/Makefile.flags
513 515
@@ -531,8 +533,6 @@ endif
531# Defaults busybox but it is usually overridden in the arch makefile 533# Defaults busybox but it is usually overridden in the arch makefile
532all: busybox doc 534all: busybox doc
533 535
534-include $(srctree)/arch/$(ARCH)/Makefile
535
536# arch Makefile may override CC so keep this after arch Makefile is included 536# arch Makefile may override CC so keep this after arch Makefile is included
537#bbox# NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) 537#bbox# NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
538CHECKFLAGS += $(NOSTDINC_FLAGS) 538CHECKFLAGS += $(NOSTDINC_FLAGS)