mirror of
https://git.yoctoproject.org/git/opkg-utils
synced 2026-05-07 01:56:44 +02:00
[opkg-utils] fix install fail problem
Thanks for khorben's patch :-) https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff
This commit is contained in:
4
Makefile
4
Makefile
@@ -4,7 +4,7 @@ UTILS = opkg-build opkg-unbuild opkg-compare-versions opkg-make-index opkg.py \
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr/local
|
||||
bindir=${prefix}/bin
|
||||
bindir=$(PREFIX)/bin
|
||||
|
||||
all: opkg-compare-versions
|
||||
|
||||
@@ -13,7 +13,7 @@ opkg-compare-versions: opkg-compare-versions.c
|
||||
|
||||
install: opkg-compare-versions
|
||||
install -d $(DESTDIR)$(bindir)
|
||||
install -m 744 $(UTILS) $(DESTDIR)$(bindir)
|
||||
install -m 755 $(UTILS) $(DESTDIR)$(bindir)
|
||||
|
||||
clean:
|
||||
rm -rf opkg-compare-versions
|
||||
|
||||
Reference in New Issue
Block a user