AMD S3: Rename generated s3.rom for make clean
Add prefix coreboot_ to let make clean find it and delete it. Change-Id: Ieba9c0e7ca3d2afec311d64159b22746ba5825c4 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: zbao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/2029 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
a182cbdd62
commit
bb71c91db1
|
@ -19,14 +19,14 @@ subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AGESA_HUDSON) += agesa
|
|||
ifeq ($(CONFIG_HAVE_ACPI_RESUME), y)
|
||||
ifeq ($(CONFIG_CPU_AMD_AGESA), y)
|
||||
|
||||
$(obj)/s3.rom: $(obj)/config.h
|
||||
$(obj)/coreboot_s3nv.rom: $(obj)/config.h
|
||||
echo " S3 NVRAM $(CONFIG_S3_VOLATILE_POS) (S3 storage area)"
|
||||
# force C locale, so cygwin awk doesn't try to interpret the 0xff below as UTF-8 (or worse)
|
||||
LC_ALL=C awk 'BEGIN {for (i=0; i<32768; i++) {printf "%c", 255}}' > $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
cbfs-files-y += s3nv
|
||||
s3nv-file := $(obj)/s3.rom
|
||||
s3nv-file := $(obj)/coreboot_s3nv.rom
|
||||
s3nv-position := $(CONFIG_S3_VOLATILE_POS)
|
||||
s3nv-type := raw
|
||||
|
||||
|
|
Loading…
Reference in New Issue