summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cb556e7f1d..46f6b49aa8 100644
--- a/Makefile
+++ b/Makefile
@@ -306,7 +306,7 @@ ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZMA),y)
CBFS_PAYLOAD_COMPRESS_FLAG:=l
endif
-coreboot: prepare prepare2 $(obj)/coreboot.rom
+coreboot: prepare $(obj)/coreboot.rom
endif
@@ -315,9 +315,7 @@ prepare:
mkdir -p $(obj)/util/kconfig/lxdialog $(obj)/util/cbfstool
test -n "$(alldirs)" && mkdir -p $(alldirs) || true
-prepare2: $(obj)/build.h
-
-$(obj)/build.h:
+$(obj)/build.h: .xcompile
@printf " GEN build.h\n"
rm -f $(obj)/build.h
printf "/* build system definitions (autogenerated) */\n" > $(obj)/build.ht
@@ -386,5 +384,5 @@ $(obj)/romcc: $(top)/util/romcc/romcc.c
@# http://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
-.PHONY: $(PHONY) prepare prepare2 clean distclean doxygen doxy coreboot
+.PHONY: $(PHONY) prepare clean distclean doxygen doxy coreboot .xcompile