Skip to content

Commit 943ea87

Browse files
committed
Makefile: support optional build_id for contents.xml generation
Add support for passing an optional `build_id` argument to the Makefile, which in turn used by gen_contents.py to add unique build_id into the generated `contents.xml`, as required by Axiom. Signed-off-by: Viswanath Kraleti <[email protected]>
1 parent 77f4bb4 commit 943ea87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ all: $(PLATFORMS) $(PARTITIONS_XML) $(CONTENTS_XML)
1919
$(TOPDIR)/gen_partition.py -i $^ -o $@
2020

2121
%/contents.xml: %/partitions.xml %/contents.xml.in
22-
$(TOPDIR)/gen_contents.py -p $< -t $@.in -o $@
22+
$(TOPDIR)/gen_contents.py -p $< -t $@.in -o $@ $${BUILD_ID:+ -b $(BUILD_ID)}
2323

2424
lint:
2525
# W605: invalid escape sequence

0 commit comments

Comments
 (0)