[Buildroot] [PATCH] package/zstd: Install tools into /usr/bin, not /usr/local/bin

Peter Korsgaard peter at korsgaard.com
Wed Sep 20 18:03:55 UTC 2017


>>>>> "Andrey" == Andrey Smirnov <andrew.smirnov at gmail.com> writes:

 > Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin
 > is not in PATH by deafault.

 > Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
 > ---

 >  package/zstd/zstd.mk | 2 +-
 >  1 file changed, 1 insertion(+), 1 deletion(-)

 > diff --git a/package/zstd/zstd.mk b/package/zstd/zstd.mk
 > index 475079dbfe..9a6e286954 100644
 > --- a/package/zstd/zstd.mk
 > +++ b/package/zstd/zstd.mk
 > @@ -43,7 +43,7 @@ endef
 
 >  define ZSTD_INSTALL_TARGET_CMDS
 >  	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \
 > -		DESTDIR=$(TARGET_DIR) -C $(@D)/programs install
 > +		DESTDIR=$(TARGET_DIR) PREFIX= -C $(@D)/programs install

PREFIX='' would install into /bin, so I've changed this to PREFIX=/usr
and committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list