From 1d0920986f0b0cdb2de0456620a795e2a39780ce Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Sun, 18 Aug 2024 01:59:18 +0000 Subject: [PATCH] Makefile.ec2: Add missing CLEANFILES entry Without this, "make clean ec2ami" won't build a new AMI. MFC after: 3 days Sponsored by: Amazon (cherry picked from commit e06022e1bfc263e8b1393c7b948707a250f16f83) --- release/Makefile.ec2 | 1 + 1 file changed, 1 insertion(+) diff --git a/release/Makefile.ec2 b/release/Makefile.ec2 index 8f5f6f20577..4363aac2136 100644 --- a/release/Makefile.ec2 +++ b/release/Makefile.ec2 @@ -60,6 +60,7 @@ cw-ec2-portinstall: SSMOPTS_${_FL}_${_FS}= --ssm-name ${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/${_FL}/${_FS}/${REVISION}/${BRANCH} .endif EC2AMILIST+= ec2ami-${_FL}-${_FS} +CLEANFILES+= ec2ami-${_FL}-${_FS} ec2ami-${_FL}-${_FS}: cw-ec2-${_FL}-${_FS} ${CW_EC2_PORTINSTALL} .if !defined(AWSKEYFILE) || !exists(${AWSKEYFILE}) @echo "--------------------------------------------------------------"