aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-09-25 09:40:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-30 12:26:08 +0200
commitd3c971e35eedbccd07d9c095579b6132add30881 (patch)
tree43096a436eabb55aba0a895a2b9a3c73ff5657b6 /Makefile
parent3061815f4163c6962810f30b78ec21e1d837eaaf (diff)
downloadseabios-hppa-d3c971e35eedbccd07d9c095579b6132add30881.zip
seabios-hppa-d3c971e35eedbccd07d9c095579b6132add30881.tar.gz
seabios-hppa-d3c971e35eedbccd07d9c095579b6132add30881.tar.bz2
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--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3218970..d763ae3 100644
--- a/Makefile
+++ b/Makefile
@@ -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))