allow menuconfig without a LINUX26_KCONFIG file
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
076e720240
commit
10eaccc233
@ -202,7 +202,11 @@ $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.config
|
||||
touch -c $@
|
||||
|
||||
linux26-menuconfig: $(LINUX26_DIR)/.patched host-sed
|
||||
[ -f $(LINUX26_DIR)/.config ] || cp $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
|
||||
if [ ! -f $(LINUX26_DIR)/.config ]; then \
|
||||
[ -n "$(LINUX26_KCONFIG)" ] && [ -f $(LINUX26_KCONFIG) ] && \
|
||||
cp $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config || \
|
||||
true; \
|
||||
fi
|
||||
$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) menuconfig
|
||||
-[ -f $(LINUX26_DIR)/.config ] && touch $(LINUX26_DIR)/.configured
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user