build: create output dirs in do-kconfig

Unbreaks parallel builds.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
diff --git a/Makefile b/Makefile
index 3218970..d763ae3 100644
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@
 # Default targets
 -include $(KCONFIG_CONFIG)
 
-target-y = $(OUT) $(addprefix $(OUT), $(DIRS)) $(OUT)bios.bin
+target-y = $(OUT)bios.bin
 target-$(CONFIG_BUILD_VGABIOS) += $(OUT)vgabios.bin
 
 all: $(target-y)
@@ -238,6 +238,7 @@
 define do-kconfig
 $(Q)mkdir -p $(OUT)/scripts/kconfig/lxdialog
 $(Q)mkdir -p $(OUT)/include/config
+$(Q)mkdir -p $(addprefix $(OUT), $(DIRS))
 $(Q)$(MAKE) -C $(OUT) -f $(CURDIR)/scripts/kconfig/Makefile srctree=$(CURDIR) src=scripts/kconfig obj=scripts/kconfig Q=$(Q) Kconfig=$(CURDIR)/src/Kconfig $1
 endef
 
@@ -255,7 +256,4 @@
 distclean: clean
 	$(Q)rm -f .config .config.old
 
-$(OUT) $(addprefix $(OUT), $(DIRS)):
-	$(Q)mkdir $@
-
 -include $(patsubst %,$(OUT)%/*.d,$(DIRS))