diff --git a/Makefile.inc b/Makefile.inc index 0fb7a3d02c..812f998ce7 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -700,12 +700,12 @@ $(obj)/fmap.fmd: $(CONFIG_FMDFILE) $(obj)/config.h endif # ifeq ($(CONFIG_FMDFILE),) # generated at the same time as fmap.fmap -$(obj)/fmap.h: $(obj)/fmap.fmap +$(obj)/fmap_config.h: $(obj)/fmap.fmap $(obj)/fmap.desc: $(obj)/fmap.fmap $(obj)/fmap.fmap: $(obj)/fmap.fmd $(FMAPTOOL) - echo " FMAP $(FMAPTOOL) -h $(obj)/fmap.h $< $@" - $(FMAPTOOL) -h $(obj)/fmap.h -R $(obj)/fmap.desc $< $@ + echo " FMAP $(FMAPTOOL) -h $(obj)/fmap_config.h $< $@" + $(FMAPTOOL) -h $(obj)/fmap_config.h -R $(obj)/fmap.desc $< $@ $(obj)/coreboot.pre: $(objcbfs)/bootblock.bin $$(prebuilt-files) $(CBFSTOOL) $$(cpu_ucode_cbfs_file) $(obj)/fmap.fmap $(obj)/fmap.desc $(CBFSTOOL) $@.tmp create -M $(obj)/fmap.fmap -r $(shell cat $(obj)/fmap.desc)