diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-config.inc')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-config.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-config.inc b/meta/recipes-core/uclibc/uclibc-config.inc index 0c7a0ceb06..8b9e41c64d 100644 --- a/meta/recipes-core/uclibc/uclibc-config.inc +++ b/meta/recipes-core/uclibc/uclibc-config.inc | |||
@@ -1,3 +1,5 @@ | |||
1 | DEPENDS += "kern-tools-native" | ||
2 | inherit cml1 | ||
1 | # | 3 | # |
2 | # Set the ARCH environment variable for uClibc compilation. | 4 | # Set the ARCH environment variable for uClibc compilation. |
3 | # Return value must match one of the architectures known to uClibc: | 5 | # Return value must match one of the architectures known to uClibc: |
@@ -128,3 +130,13 @@ def features_to_uclibc_conf(d): | |||
128 | def features_to_uclibc_del(d): | 130 | def features_to_uclibc_del(d): |
129 | cnf, rem = features_to_uclibc_settings(d) | 131 | cnf, rem = features_to_uclibc_settings(d) |
130 | return rem | 132 | return rem |
133 | |||
134 | # returns all the elements from the src uri that are .cfg files | ||
135 | def find_cfgs(d): | ||
136 | sources=src_patches(d, True) | ||
137 | sources_list=[] | ||
138 | for s in sources: | ||
139 | if s.endswith('.cfg'): | ||
140 | sources_list.append(s) | ||
141 | |||
142 | return sources_list | ||