summaryrefslogtreecommitdiffstats
path: root/bin/oemake
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-07-03 18:57:56 +0000
committerChris Larson <clarson@kergoth.com>2003-07-03 18:57:56 +0000
commit0701f7c5ebaaa45e191d98d1e2296bf7d71a04e1 (patch)
tree433ae6fca80b9357e94a1bc00d2fc8ca9156cc11 /bin/oemake
parent2f6277e8e74bc422c595101e6cb9447802688839 (diff)
downloadbitbake-contrib-0701f7c5ebaaa45e191d98d1e2296bf7d71a04e1.tar.gz
Teach oemake to handle wildcards in OEFILES
Diffstat (limited to 'bin/oemake')
-rw-r--r--bin/oemake6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/oemake b/bin/oemake
index 8e66aa4a6..447021717 100644
--- a/bin/oemake
+++ b/bin/oemake
@@ -186,7 +186,13 @@ if not len(files):
#pkg = [ "pkgname", "depends", "provides" ]
+import glob
for f in files:
+ globbed = glob.glob(f) or [ f ]
+ if globbed:
+ if [ f ] != globbed:
+ files += globbed
+ continue
# read a file's metadata
try:
from copy import copy