Aurélien Larcher
2022-07-15 871dfcfdf99ac7408871c060368ede7840bd084f
userland-component: MK_BITS cannot be considered as 32-bit by default

* userland-component: MK_BITS cannot be considered as 32-bit by default

* userland-component: improve comment
1 files modified
4 ■■■■ changed files
tools/userland-component 4 ●●●● patch | view | raw | blame | history
tools/userland-component
@@ -113,8 +113,8 @@
                    new_targets[t] = u
                break
        if not found:
            # Some Python/Perl makefiles actually use NO_ARCH target with MK_BITS=32
            if mk_bits == '32':
            # Some Python/Perl makefiles actually use NO_ARCH target with MK_BITS=32, or BITS was not set
            if mk_bits == '32' or mk_bits == '64':
                ok_bits = ( 'NO_ARCH', '64', '32_and_64', '64_and_32' )
                for b in ok_bits:
                    if u.value() == MK.target_value(t, b):