mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09: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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user