From: Thomas Petazzoni Date: Wed, 1 Sep 2010 20:38:40 +0000 (+0200) Subject: liboil: convert old-style hook to new-style hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f80d06457279c27689fddcb7ef110f30547f4d7b;p=buildroot.git liboil: convert old-style hook to new-style hook Signed-off-by: Thomas Petazzoni --- diff --git a/package/liboil/liboil.mk b/package/liboil/liboil.mk index 1bb412fc56..4681282878 100644 --- a/package/liboil/liboil.mk +++ b/package/liboil/liboil.mk @@ -35,9 +35,10 @@ endif LIBOIL_DEPENDENCIES = $(LIBOIL_GLIB_DEP) -$(eval $(call AUTOTARGETS,package,liboil)) - -$(LIBOIL_HOOK_POST_INSTALL): - # Remove useless bugreport program from the target +define LIBOIL_TARGET_CLEANUP rm -f $(TARGET_DIR)/usr/bin/oil-bugreport - touch $@ +endef + +LIBOIL_POST_INSTALL_TARGET_HOOKS += LIBOIL_TARGET_CLEANUP + +$(eval $(call AUTOTARGETS,package,liboil))