mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/pkg-generic: Add /usr/share/info/dir to $(2)_DROP_FILES_OR_DIRS
This is the file the original commitd889838098("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> (cherry picked from commite5a723f35d) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
3fbf04200d
commit
dee8d1caff
@@ -870,7 +870,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