aboutsummaryrefslogtreecommitdiff
path: root/package/liboil/liboil.mk
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 22:38:40 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:24:59 +0200
commitf80d06457279c27689fddcb7ef110f30547f4d7b (patch)
tree5d0a19e17f01da0df750fca326001526f8ea09a2 /package/liboil/liboil.mk
parentfcab98c31bd05bfa294fd9705275832e4256dcb1 (diff)
downloadbuildroot-f80d06457279c27689fddcb7ef110f30547f4d7b.tar.gz
buildroot-f80d06457279c27689fddcb7ef110f30547f4d7b.tar.bz2
liboil: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/liboil/liboil.mk')
-rw-r--r--package/liboil/liboil.mk11
1 files changed, 6 insertions, 5 deletions
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))