[Buildroot] [git commit] package/rt-tests: simplify PYLIB logic
Peter Korsgaard
peter at korsgaard.com
Mon Feb 3 10:10:48 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=7041b753dcf49080472bab75ad2e7a49272f6fd3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
No functional change, but improves readability.
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/rt-tests/rt-tests.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/rt-tests/rt-tests.mk b/package/rt-tests/rt-tests.mk
index 431c017688..abc32f4fb2 100644
--- a/package/rt-tests/rt-tests.mk
+++ b/package/rt-tests/rt-tests.mk
@@ -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
More information about the buildroot
mailing list