Merge pull request #4939 from heitbaum/i2cfix

i2c-tools: fix dest PREFIX to /usr
This commit is contained in:
CvH 2021-01-14 17:52:55 +01:00 committed by GitHub
commit 5efefffc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ make_target() {
makeinstall_target() {
make DESTDIR=${INSTALL} \
prefix="/usr" \
PREFIX="/usr" \
EXTRA="py-smbus" \
PYTHON=${TOOLCHAIN}/bin/python3 \
install

View File

@ -6,7 +6,7 @@ diff -ur a/py-smbus/Module.mk b/py-smbus/Module.mk
install-python:
- $(DISTUTILS) install
+ $(DISTUTILS) install --prefix=$(DESTDIR)$(prefix)
+ $(DISTUTILS) install --prefix=$(DESTDIR)$(PREFIX)
all: all-python