package/opkg-utils: needs Python3 on the host
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 9 Dec 2020 15:15:50 +0000 (16:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 21 Dec 2020 09:26:06 +0000 (10:26 +0100)
commit7dcd20f9d5cca7dba2c510988b457c93532108cd
tree8f2bcce126aadb393da49c5d689ce85738aed201
parent11a9810a54edeb64dec219c2190583eca07c4299
package/opkg-utils: needs Python3 on the host

The 'opkg.py' script installed by host-opkg-utils has as shebang:
    #!/usr/bin/env python3

which may not be available on all host machines.
Add a potential dependency on host-python3 via BR2_PYTHON3_HOST_DEPENDENCY,
which will only add the host-python3 dependency if no python3 is already
available on the host.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/opkg-utils/opkg-utils.mk