summaryrefslogtreecommitdiff
path: root/util/signer/build.mk
blob: faab4f085f27e62caa7dc6802123fe193b47c652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- makefile -*-
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# When building self signed Cr50 images we still want the epoch/major/minor
# fields come from the dev manifest. Since a full blown JSON parser for C is
# not readily available, this rule generates a small .h file with only the
# fields of interest retrieved from the dev JSON file.
$(out)/pmjp.h: util/signer/pmjp.py util/signer/ec_RW-manifest-dev.json
	@echo "  PMJP $@"
	$(Q)./util/signer/pmjp.py ./util/signer/ec_RW-manifest-dev.json > $@