diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-01 20:50:52 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-09-12 19:24:59 +0200 |
commit | d31100d7e80278f673f74ed36c16a65f4fd27e9e (patch) | |
tree | 4679e4763ffa4dfc102a1a07741e9118ffe05bfb /package/mysql_client | |
parent | b4cb198b9710531e0a4ccf5d3f835427daeecaad (diff) | |
download | buildroot-novena-d31100d7e80278f673f74ed36c16a65f4fd27e9e.tar.gz buildroot-novena-d31100d7e80278f673f74ed36c16a65f4fd27e9e.zip |
mysql_client: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mysql_client')
-rw-r--r-- | package/mysql_client/mysql_client.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/mysql_client/mysql_client.mk b/package/mysql_client/mysql_client.mk index 377df89d8..6a89a52d8 100644 --- a/package/mysql_client/mysql_client.mk +++ b/package/mysql_client/mysql_client.mk @@ -32,8 +32,10 @@ MYSQL_CLIENT_CONF_OPT = \ --enable-thread-safe-client \ $(ENABLE_DEBUG) -$(eval $(call AUTOTARGETS,package,mysql_client)) - -$(MYSQL_CLIENT_HOOK_POST_INSTALL): +define MYSQL_CLIENT_REMOVE_TEST_PROGS rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench - touch $@ +endef + +MYSQL_CLIENT_POST_INSTALL_TARGET_HOOKS += MYSQL_CLIENT_REMOVE_TEST_PROGS + +$(eval $(call AUTOTARGETS,package,mysql_client)) |