Skip to content

Commit cb8311a

Browse files
Makefile: only search for files under specific configurations
With partitions.conf and contents.xml.in now available under the platforms/<platform>/<storage configuration>/ pattern, drop search for files under the old path pattern. Signed-off-by: Ricardo Salveti <[email protected]>
1 parent 79dbe31 commit cb8311a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
TOPDIR := $(PWD)
2-
PARTITIONS := $(wildcard platforms/*/partitions.conf platforms/*/*/partitions.conf)
2+
PARTITIONS := $(wildcard platforms/*/*/partitions.conf)
33
PARTITIONS_XML := $(patsubst %.conf,%.xml, $(PARTITIONS))
44
PLATFORMS := $(patsubst %/partitions.conf,%/gpt, $(PARTITIONS))
55

6-
CONTENTS_XML_IN := $(wildcard platforms/*/contents.xml.in platforms/*/*/contents.xml.in)
6+
CONTENTS_XML_IN := $(wildcard platforms/*/*/contents.xml.in)
77
CONTENTS_XML := $(patsubst %.xml.in,%.xml, $(CONTENTS_XML_IN))
88
BINS := gen_contents.py gen_partition.py msp.py ptool.py
99
PREFIX ?= /usr/local

0 commit comments

Comments
 (0)