Generate dummy images for allyes variant, dummies generated are- vendor_boot.img, init_boot.img, super.img. Change-Id: I2897d6c16c4199d766404613cee669eba6336ee4 Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
12 lines
381 B
Python
12 lines
381 B
Python
def gen_allyes_files(le_target):
|
|
""""Build empty vendor_boot/init_boot/super images fr allyes config."""
|
|
rule_name = "{}_dummy_files".format(le_target)
|
|
native.genrule(
|
|
name = rule_name,
|
|
srcs = [],
|
|
outs = ["vendor_boot.img", "super.img", "init_boot.img"],
|
|
cmd = """touch $(OUTS)
|
|
echo 'empty_file' | tee $(OUTS)"""
|
|
)
|
|
|