mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/pkg-generic: Add /usr/share/info/dir to $(2)_DROP_FILES_OR_DIRS
This is the file the original commit d889838098 ("package/pkg-generic.mk:
Remove Info documents dir entry") wanted to delete.
However, it only works for host packages. Target packages are (usually)
installed with prefix /usr, so the info dir is /usr/share/info. Simply
remove both of them, even if one of them only exists for host packages
and the other only for target packages.
Signed-off-by: John Ernberg <j@j-ernberg.se>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
d5aef8a047
commit
e5a723f35d
@@ -863,7 +863,7 @@ endif
|
||||
endif
|
||||
|
||||
# Globally remove following conflicting and useless files
|
||||
$(2)_DROP_FILES_OR_DIRS += /share/info/dir
|
||||
$(2)_DROP_FILES_OR_DIRS += /share/info/dir /usr/share/info/dir
|
||||
|
||||
ifeq ($$($(2)_TYPE),host)
|
||||
$(2)_POST_INSTALL_HOOKS += REMOVE_CONFLICTING_USELESS_FILES_IN_HOST
|
||||
|
||||
Reference in New Issue
Block a user