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) \
|
||||
DESTDIR="$(TARGET_DIR)" \
|
||||
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
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user