mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/grep: install to /bin to fix busybox aliasing
When the grep package is selected, it should be installed at the same exact
location where busybox installs it too, this way the grep/egrep/fgrep
executables will end up overwriting the busybox provided ones.
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 10bc79c612)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
0a9c02a44d
commit
3c030e1685
@@ -10,6 +10,8 @@ GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
|||||||
GREP_LICENSE = GPL-3.0+
|
GREP_LICENSE = GPL-3.0+
|
||||||
GREP_LICENSE_FILES = COPYING
|
GREP_LICENSE_FILES = COPYING
|
||||||
GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||||
|
# install into /bin like busybox grep
|
||||||
|
GREP_CONF_OPTS = --exec-prefix=/
|
||||||
|
|
||||||
# link with iconv if enabled
|
# link with iconv if enabled
|
||||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user