mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
package/rt-tests: simplify PYLIB logic
No functional change, but improves readability. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
ae08d22b73
commit
7041b753dc
@ -25,7 +25,7 @@ define RT_TESTS_INSTALL_TARGET_CMDS
|
|||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
DESTDIR="$(TARGET_DIR)" \
|
DESTDIR="$(TARGET_DIR)" \
|
||||||
prefix=/usr \
|
prefix=/usr \
|
||||||
$(if $(BR2_PACKAGE_PYTHON3),PYLIB=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/,PYLIB="") \
|
PYLIB="$(if $(BR2_PACKAGE_PYTHON3),/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/)" \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user