Message ID | 20130814221237.089710222@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: b/arch/arm/Makefile =================================================================== --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -238,8 +238,8 @@ ifeq ($(CONFIG_ARCH_MULTIPLATFORM),y) MACHINE := endif -machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) -platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y)) +machdirs := $(patsubst %,arch/arm/mach-%/,$(sort $(machine-y))) +platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) ifeq ($(KBUILD_SRC),)