changeset 171:4e2c521c4548

Delete empty dirs under /usr
author ray@terran.dlink.ua
date Thu, 30 Jun 2011 12:48:32 +0300
parents 5cd51f4f5520
children 4d00a55a4481
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 30 12:47:22 2011 +0300
+++ b/Makefile	Thu Jun 30 12:48:32 2011 +0300
@@ -412,6 +412,7 @@
 	 ln -sf vi nview
 	rm -rf ${NEW_ROOTFS}/etc/mpd
 	ln -s /tmp/etc/mpd ${NEW_ROOTFS}/etc/mpd
+	cd ${ZROUTER_OBJ}/${TARGET_VENDOR}_${TARGET_DEVICE}_rootfs_clean ; find ./usr/ -type d -empty -delete
 
 #${ROOTFS_DEPTEST}:
 ${ROOTFS_DEPTEST}:		world	ports