From d26fa58d2549c173404240c6efdcdb60755c4bb5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 13 Jun 2008 15:28:31 +0000 Subject: [PATCH] create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig SVN-Revision: 11460 --- include/.target.mk.swp | Bin 0 -> 16384 bytes include/kernel-build.mk | 1 + include/target.mk | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 include/.target.mk.swp diff --git a/include/.target.mk.swp b/include/.target.mk.swp new file mode 100644 index 0000000000000000000000000000000000000000..d41d2ccd4a5202f22fe42456dac48def2ad914c6 GIT binary patch literal 16384 zcmeI2TZklA8OJNDMrUI-H+&EjPG)A4sZC#YCL4Ft%ed21T{GKGPj}gu-E898TU~X! zyE5HfwN=%#J7gn>ih)QV1O$B$5d=kW38L;p9#jy#fI%=pi4R76&=^9H=!3+||J12l z_tehpYF+}>>~E*K>O0^0&UdcgSKT>!ro2gx=N1Kg?i7Tp&(=>j-}FtG`YxUpfGP*bacsf^TtRUjCGoKRl7&s+;A(oOnNu}&6@Zi$o(Ye`s$vtc>Veb)sR!Oo9&oJ# z!hc}!0dNuA;`1K-T?MxP9e>hK>Veb)sRvRIq#j5;ka{5XK)>hd5I6?z z1pmBU5MBg72R{Sf1~#||E&v650+hjB;1=-f4?-_E2;RI+5MBd+0Y3m^;DSfNac~g4 zdQcF42Yv%y0AB{rfTzG0fdzWtQP2bpPy!Eud%#;Wg78!DEch%?!NXt%{NV$Fa1A^U zo&jy}NpJ-GNY6rHwLWpi9o?`qG0n_|gqk42W%o94 zN+z@`u5s^Hio&{FmFs1xeS=L2#6#cgtsj=`St2wU1I{;Otz3~CZKx%M+;<_G+tKDT$fI zNh2sThLCL3+{qzr`G(|=u(lF{k!p-6nKCml39Z^gVX)Xt>-_(#H@YM4q6y>UD~w-v z*!aNGs2`Mijmz%m+`Kt(vH0wN|W`#P&)wa|gbqa8{Qj|7|>vCf+Q>*HbGTCZzQ{F?4i7fKxgs`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F%$i(mw(7{pOti|^7qn-0 zLwo@R0SGgV$93~zoR~q+D`!h$qShe6<3-(GmM392k;j6U8{+vyE!^d-azFS=YQUT5=)`(qj2nW61BA& zH(-mASX7b9`_ $(LINUX_DIR)/.config touch $(LINUX_CONFIG) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@ diff --git a/include/target.mk b/include/target.mk index be9f128cda..8b123959d3 100644 --- a/include/target.mk +++ b/include/target.mk @@ -109,7 +109,7 @@ GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLAT GENERIC_FILES_DIR := $(GENERIC_PLATFORM_DIR)/files$(shell [ -d "$(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) GENERIC_LINUX_CONFIG?=$(firstword $(wildcard $(GENERIC_PLATFORM_DIR)/config-$(KERNEL_PATCHVER) $(GENERIC_PLATFORM_DIR)/config-default)) -LINUX_CONFIG?=$(firstword $(wildcard $(foreach subdir,$(PLATFORM_DIR) $(PLATFORM_SUBDIR),$(subdir)/config-$(KERNEL_PATCHVER) $(subdir)/config-default))) +LINUX_CONFIG?=$(firstword $(wildcard $(foreach subdir,$(PLATFORM_DIR) $(PLATFORM_SUBDIR),$(subdir)/config-$(KERNEL_PATCHVER) $(subdir)/config-default)) $(PLATFORM_DIR)/config-$(KERNEL_PATCHVER)) LINUX_SUBCONFIG?=$(firstword $(wildcard $(PLATFORM_SUBDIR)/config-$(KERNEL_PATCHVER) $(PLATFORM_SUBDIR)/config-default)) ifeq ($(LINUX_CONFIG),$(LINUX_SUBCONFIG)) LINUX_SUBCONFIG:=