summaryrefslogtreecommitdiff
path: root/scripts/lib/recipetool/create_kernel.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-20 08:45:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-24 11:52:07 +0100
commit7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be (patch)
treee3f6cbdc2308f9c8a29b268d195e06ba4545cea1 /scripts/lib/recipetool/create_kernel.py
parentb5788fb1f795f2f35d1788d8311e12984ffb2122 (diff)
downloadopenembedded-core-7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be.tar.gz
openembedded-core-7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be.tar.bz2
openembedded-core-7ad0c0d6ab12bebeac097fc0f5210c876dcfe9be.zip
package: Refactor to remove isElf/is_elf function duplication
There are probably further cleanups needed here but this at least removes the major code duplication between these two similar funcitons, keeping the kernel module ".ko" extension check for efficiency to avoid opening and reading file contents in the general case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_kernel.py')
0 files changed, 0 insertions, 0 deletions