build system: Makefiles are in source dir, add $(srctree)

This commit is contained in:
Denis Vlasenko 2006-10-31 23:03:09 +00:00
parent b141b9b512
commit 14aa9f7415

View File

@ -263,7 +263,7 @@ export quiet Q KBUILD_VERBOSE
MAKEFLAGS += --include-dir=$(srctree) MAKEFLAGS += --include-dir=$(srctree)
# We need some generic definitions # We need some generic definitions
include $(srctree)/scripts/Kbuild.include include $(srctree)/scripts/Kbuild.include
# For maximum performance (+ possibly random breakage, uncomment # For maximum performance (+ possibly random breakage, uncomment
# the following) # the following)
@ -988,7 +988,7 @@ rpm: FORCE
boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig) boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig)
boards := $(notdir $(boards)) boards := $(notdir $(boards))
-include Makefile.help -include $(srctree)/Makefile.help
# Documentation targets # Documentation targets
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
@ -1282,7 +1282,7 @@ endif # skip-makefile
PHONY += FORCE PHONY += FORCE
FORCE: FORCE:
-include Makefile.custom -include $(srctree)/Makefile.custom
# Declare the contents of the .PHONY variable as phony. We keep that # Declare the contents of the .PHONY variable as phony. We keep that
# information in a variable se we can use it in if_changed and friends. # information in a variable se we can use it in if_changed and friends.