mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
imagemagick: remove *-config scripts from TARGET_DIR
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0a064b48c9
commit
50e73c6f78
@ -80,4 +80,14 @@ else
|
|||||||
IMAGEMAGICK_CONF_OPT += --without-tiff
|
IMAGEMAGICK_CONF_OPT += --without-tiff
|
||||||
endif
|
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))
|
$(eval $(call AUTOTARGETS,package,imagemagick))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user