diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-11-06 00:32:01 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-11-06 00:32:01 +0100 |
commit | 97699bff68f5ebc849268ca07fec6d9ffe36801c (patch) | |
tree | 59a9cf6f439822b8cf6d231870aaf20257428131 /mk/uclibc.mk | |
parent | 30b2b8a6394777068c3a327b66005c8737735d4b (diff) | |
download | embtoolkit-97699bff68f5ebc849268ca07fec6d9ffe36801c.tar.gz embtoolkit-97699bff68f5ebc849268ca07fec6d9ffe36801c.tar.bz2 embtoolkit-97699bff68f5ebc849268ca07fec6d9ffe36801c.tar.xz |
Packages: use embtk_cleanup_{pkgname} whenever possible
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/uclibc.mk')
-rwxr-xr-x | mk/uclibc.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/uclibc.mk b/mk/uclibc.mk index 4d5ff75..328b9be 100755 --- a/mk/uclibc.mk +++ b/mk/uclibc.mk @@ -84,7 +84,7 @@ $(UCLIBC_BUILD_DIR)/.headers_installed: download_uclibc_headers: $(call embtk_download_pkg,uClibc) -define embtk_uclibc_clean +define embtk_cleanup_uclibc if [ -d $(UCLIBC_BUILD_DIR) ]; then \ $(MAKE) -C $(UCLIBC_BUILD_DIR) distclean; \ rm -rf $(UCLIBC_BUILD_DIR)/.installed; \ @@ -92,8 +92,12 @@ define embtk_uclibc_clean fi endef +define embtk_cleanup_uclibc_headers + $(embtk_cleanup_uclibc) +endef + uclibc_clean uclibc_headers_clean: - $(Q)$(embtk_uclibc_clean) + $(Q)$(embtk_cleanup_uclibc) # # uClibc configuration macros and target # |