diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2020-12-08 19:01:46 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-29 21:13:38 +0000 |
commit | fe38dfeca9f3d92a519978868e2eb5f551341ba9 (patch) | |
tree | a6f2b20b429da4ad6f065e48e620c11d099258aa | |
parent | cef766fc83a5fbf2dcc4e63a142d3bce987050e0 (diff) | |
download | chrome-ec-fe38dfeca9f3d92a519978868e2eb5f551341ba9.tar.gz |
make: fix awk complaint
It has not always been like that but recently the following message
started showing up on the console when building Cr50 image with
CR50_DEV and H1_DEVID variables defined:
awk: cmd. line:1: warning: regexp escape sequence "' is not a ...
This patch fixes the problem.
BUG=none
TEST=running 'CR50_DEV=1 H1_DEVIDS="0 1" make BOARD=cr50 -j' succeeds
and does not generate the above error message any more.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Change-Id: I3a34e1dc5dc3ca58928bfeac32df1ac7e1aa3c4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2931956
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
(cherry picked from commit 1458cfd6338e362dd0d95ace52fc7d0632a62ae3)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3004074
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Tested-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
(cherry picked from commit 1957b681828ae247c835ea646f5913761d84e8c9)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3059203
-rw-r--r-- | chip/g/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk index ed1f153e8a..084320409c 100644 --- a/chip/g/build.mk +++ b/chip/g/build.mk @@ -171,7 +171,7 @@ ifneq ($(CR50_DEV),) DUMMY := $(shell /usr/bin/awk 'BEGIN {skip = 0}; \ /^},/ {skip = 0}; \ {if (!skip) {print };} \ - /\"info\": {/ {skip = 1};' $(MANIFEST) > $(SIGNER_MANIFEST)) + /"info": {/ {skip = 1};' $(MANIFEST) > $(SIGNER_MANIFEST)) else DUMMY := $(shell /bin/cp $(MANIFEST) $(SIGNER_MANIFEST)) endif |