diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-01 23:16:30 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-12 19:26:50 +0200 |
commit | 166631bdfbd5bc063a88126c5b91227701b48745 (patch) | |
tree | b8f36884aca5c3a1fb3c030a6f457406474e3aa4 | |
parent | 0de10bf4915ba1efe482486705adc36cfa52cfa8 (diff) | |
download | buildroot-novena-166631bdfbd5bc063a88126c5b91227701b48745.tar.gz buildroot-novena-166631bdfbd5bc063a88126c5b91227701b48745.zip |
bmon: use correct way of overriding steps
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/bmon/bmon.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk index 759b08416..5036185d7 100644 --- a/package/bmon/bmon.mk +++ b/package/bmon/bmon.mk @@ -10,9 +10,8 @@ BMON_SITE = http://distfiles.gentoo.org/distfiles BMON_DEPENDENCIES = ncurses BMON_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install -$(eval $(call AUTOTARGETS,package,bmon)) - -$(BMON_TARGET_UNINSTALL): - $(call MESSAGE,"Uninstalling") +define BMON_UNINSTALL_TARGET_CMDS rm -f $(TARGET_DIR)/usr/bin/bmon - rm -f $(BMON_TARGET_INSTALL_TARGET) $(BMON_HOOK_POST_INSTALL) +endef + +$(eval $(call AUTOTARGETS,package,bmon)) |