mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
haserl: convert to new style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7811b05c9b
commit
23ad529cb5
@ -22,9 +22,10 @@ ifeq ($(BR2_PACKAGE_HASERL_WITH_LUA),y)
|
|||||||
HASERL_DEPENDENCIES += lua
|
HASERL_DEPENDENCIES += lua
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,haserl))
|
define HASERL_REMOVE_EXAMPLES
|
||||||
|
|
||||||
# haserl 0.8.0 installs unneeded examples to /usr/share/haserl - remove them
|
|
||||||
$(HASERL_HOOK_POST_INSTALL): $(HASERL_TARGET_INSTALL_TARGET)
|
|
||||||
rm -rf $(TARGET_DIR)/usr/share/haserl
|
rm -rf $(TARGET_DIR)/usr/share/haserl
|
||||||
touch $@
|
endef
|
||||||
|
|
||||||
|
HASERL_POST_INSTALL_TARGET_HOOKS += HASERL_REMOVE_EXAMPLES
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,haserl))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user