mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 20:40:34 -09:00
imagemagick: remove *-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -80,4 +80,14 @@ else
|
||||
IMAGEMAGICK_CONF_OPT += --without-tiff
|
||||
endif
|
||||
|
||||
define IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS
|
||||
$(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/, \
|
||||
$(addsuffix -config, \
|
||||
Magick MagickCore MagickWand Wand Magick++))
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_HAVE_DEVFILES),y)
|
||||
IMAGEMAGICK_POST_INSTALL_TARGET_HOOKS += IMAGEMAGICK_REMOVE_CONFIG_SCRIPTS
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,imagemagick))
|
||||
|
||||
Reference in New Issue
Block a user