From 0019d8031c4b0535df9429f412aeb959edcfded9 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Wed, 5 Apr 2017 14:12:44 -0400 Subject: [PATCH] make %.rom generic --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 99bf7f3b..4ccf1789 100644 --- a/Makefile +++ b/Makefile @@ -370,17 +370,11 @@ x230.flash.rom: $(build)/$(coreboot_dir)/x230.flash/coreboot.rom @sha256sum "$@" # This produces a ROM image that is written with the flashrom program -x230.rom: $(build)/$(coreboot_dir)/x230/coreboot.rom +%.rom: $(build)/$(coreboot_dir)/%/coreboot.rom "$(build)/$(coreboot_dir)/$(BOARD)/cbfstool" "$<" print $(call do,EXTRACT,$@,mv "$<" "$@") @sha256sum "$@" -qemu.rom: $(build)/$(coreboot_dir)/qemu/coreboot.rom - "$(build)/$(coreboot_dir)/$(BOARD)/cbfstool" "$<" print - $(call do,EXTRACT,$@,mv "$<" "$@") - @sha256sum "$@" - - modules.clean: for dir in \ $(busybox_dir) \