diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-25 09:40:50 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-30 12:26:08 +0200 |
commit | d3c971e35eedbccd07d9c095579b6132add30881 (patch) | |
tree | 43096a436eabb55aba0a895a2b9a3c73ff5657b6 /Makefile | |
parent | 3061815f4163c6962810f30b78ec21e1d837eaaf (diff) | |
download | seabios-d3c971e35eedbccd07d9c095579b6132add30881.tar.gz |
build: create output dirs in do-kconfig
Unbreaks parallel builds.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -82,7 +82,7 @@ endif # 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 @@ $(OUT)src/fw/acpi.o: $(OUT)src/fw/acpi-dsdt.hex $(OUT)src/fw/ssdt-proc.hex $(OUT 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 @@ clean: distclean: clean $(Q)rm -f .config .config.old -$(OUT) $(addprefix $(OUT), $(DIRS)): - $(Q)mkdir $@ - -include $(patsubst %,$(OUT)%/*.d,$(DIRS)) |