make %.rom generic

This commit is contained in:
Trammell Hudson 2017-04-05 14:12:44 -04:00
parent 5195a74422
commit 0019d8031c
Failed to extract signature

View File

@ -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) \