From: Peter Korsgaard Date: Sun, 30 Mar 2008 20:45:42 +0000 (-0000) Subject: target_skeleton: mark empty directories with .empty files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01c51685795e012b992ee6820016119c807a1d95;p=buildroot.git target_skeleton: mark empty directories with .empty files Mark empty directories in target skeletons with .empty files and remove them while copying to target (like it's already done for svn and cvs files) to better support version control system which don't handle empty directories (E.G. git-svn). --- diff --git a/Makefile b/Makefile index bfa6a2fadf..31bd1ac769 100644 --- a/Makefile +++ b/Makefile @@ -330,6 +330,7 @@ $(PROJECT_BUILD_DIR)/.root: fi -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf + -find $(TARGET_DIR) -type d -name .empty | xargs rm -rf touch $@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root diff --git a/target/device/AMD/DBAu1500/target_skeleton/bin/.empty b/target/device/AMD/DBAu1500/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/dev/pts/.empty b/target/device/AMD/DBAu1500/target_skeleton/dev/pts/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/home/.empty b/target/device/AMD/DBAu1500/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/lib/.empty b/target/device/AMD/DBAu1500/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/mnt/.empty b/target/device/AMD/DBAu1500/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/opt/.empty b/target/device/AMD/DBAu1500/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/proc/.empty b/target/device/AMD/DBAu1500/target_skeleton/proc/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/root/.empty b/target/device/AMD/DBAu1500/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/sbin/.empty b/target/device/AMD/DBAu1500/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/tmp/.empty b/target/device/AMD/DBAu1500/target_skeleton/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/usr/bin/.empty b/target/device/AMD/DBAu1500/target_skeleton/usr/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/usr/lib/.empty b/target/device/AMD/DBAu1500/target_skeleton/usr/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/AMD/DBAu1500/target_skeleton/usr/sbin/.empty b/target/device/AMD/DBAu1500/target_skeleton/usr/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100-expanded/target_skeleton/dev/.empty b/target/device/Atmel/atngw100-expanded/target_skeleton/dev/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/bin/.empty b/target/device/Atmel/atngw100/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/boot/.empty b/target/device/Atmel/atngw100/target_skeleton/boot/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/config/.empty b/target/device/Atmel/atngw100/target_skeleton/config/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/dev/.empty b/target/device/Atmel/atngw100/target_skeleton/dev/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/home/.empty b/target/device/Atmel/atngw100/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/lib/.empty b/target/device/Atmel/atngw100/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/mnt/.empty b/target/device/Atmel/atngw100/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/opt/.empty b/target/device/Atmel/atngw100/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/root/.empty b/target/device/Atmel/atngw100/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/sbin/.empty b/target/device/Atmel/atngw100/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/cache/.empty b/target/device/Atmel/atngw100/target_skeleton/var/cache/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/lib/pcmcia/.empty b/target/device/Atmel/atngw100/target_skeleton/var/lib/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/lock/.empty b/target/device/Atmel/atngw100/target_skeleton/var/lock/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/log/.empty b/target/device/Atmel/atngw100/target_skeleton/var/log/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/pcmcia/.empty b/target/device/Atmel/atngw100/target_skeleton/var/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/run/.empty b/target/device/Atmel/atngw100/target_skeleton/var/run/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/spool/.empty b/target/device/Atmel/atngw100/target_skeleton/var/spool/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atngw100/target_skeleton/var/tmp/.empty b/target/device/Atmel/atngw100/target_skeleton/var/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/bin/.empty b/target/device/Atmel/atstk1002/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/boot/.empty b/target/device/Atmel/atstk1002/target_skeleton/boot/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/config/.empty b/target/device/Atmel/atstk1002/target_skeleton/config/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/dev/.empty b/target/device/Atmel/atstk1002/target_skeleton/dev/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/home/.empty b/target/device/Atmel/atstk1002/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/lib/.empty b/target/device/Atmel/atstk1002/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/mnt/.empty b/target/device/Atmel/atstk1002/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/opt/.empty b/target/device/Atmel/atstk1002/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/root/.empty b/target/device/Atmel/atstk1002/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/sbin/.empty b/target/device/Atmel/atstk1002/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/cache/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/cache/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/lib/pcmcia/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/lib/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/lock/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/lock/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/log/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/log/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/pcmcia/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/run/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/run/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/spool/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/spool/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/atstk1002/target_skeleton/var/tmp/.empty b/target/device/Atmel/atstk1002/target_skeleton/var/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/bin/.empty b/target/device/Atmel/root/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/boot/.empty b/target/device/Atmel/root/target_skeleton/boot/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/config/.empty b/target/device/Atmel/root/target_skeleton/config/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/dev/.empty b/target/device/Atmel/root/target_skeleton/dev/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/etc/ld.so.conf.d/.empty b/target/device/Atmel/root/target_skeleton/etc/ld.so.conf.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/home/.empty b/target/device/Atmel/root/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/lib/.empty b/target/device/Atmel/root/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/mnt/.empty b/target/device/Atmel/root/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/opt/.empty b/target/device/Atmel/root/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/proc/.empty b/target/device/Atmel/root/target_skeleton/proc/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/root/.empty b/target/device/Atmel/root/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/sbin/.empty b/target/device/Atmel/root/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/tmp/.empty b/target/device/Atmel/root/target_skeleton/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/bin/.empty b/target/device/Atmel/root/target_skeleton/usr/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/include/.empty b/target/device/Atmel/root/target_skeleton/usr/include/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/lib/.empty b/target/device/Atmel/root/target_skeleton/usr/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/man/.empty b/target/device/Atmel/root/target_skeleton/usr/man/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/sbin/.empty b/target/device/Atmel/root/target_skeleton/usr/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/usr/src/.empty b/target/device/Atmel/root/target_skeleton/usr/src/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/cache/.empty b/target/device/Atmel/root/target_skeleton/var/cache/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/lib/pcmcia/.empty b/target/device/Atmel/root/target_skeleton/var/lib/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/lock/.empty b/target/device/Atmel/root/target_skeleton/var/lock/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/log/.empty b/target/device/Atmel/root/target_skeleton/var/log/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/pcmcia/.empty b/target/device/Atmel/root/target_skeleton/var/pcmcia/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/run/.empty b/target/device/Atmel/root/target_skeleton/var/run/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/spool/.empty b/target/device/Atmel/root/target_skeleton/var/spool/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Atmel/root/target_skeleton/var/tmp/.empty b/target/device/Atmel/root/target_skeleton/var/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/Sharp/LNode80/target_skeleton/root/.empty b/target/device/Sharp/LNode80/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/bin/.empty b/target/device/jp/q5/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/dev/pts/.empty b/target/device/jp/q5/target_skeleton/dev/pts/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/home/.empty b/target/device/jp/q5/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/lib/.empty b/target/device/jp/q5/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/mnt/.empty b/target/device/jp/q5/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/opt/.empty b/target/device/jp/q5/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/proc/.empty b/target/device/jp/q5/target_skeleton/proc/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/root/.empty b/target/device/jp/q5/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/sbin/.empty b/target/device/jp/q5/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/tmp/.empty b/target/device/jp/q5/target_skeleton/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/usr/bin/.empty b/target/device/jp/q5/target_skeleton/usr/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/usr/lib/.empty b/target/device/jp/q5/target_skeleton/usr/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/jp/q5/target_skeleton/usr/sbin/.empty b/target/device/jp/q5/target_skeleton/usr/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/fonts/.empty b/target/device/valka/target_skeleton/etc/fonts/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/init.d/.empty b/target/device/valka/target_skeleton/etc/init.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/network/if-down.d/.empty b/target/device/valka/target_skeleton/etc/network/if-down.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/network/if-post-down.d/.empty b/target/device/valka/target_skeleton/etc/network/if-post-down.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/network/if-pre-up.d/.empty b/target/device/valka/target_skeleton/etc/network/if-pre-up.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/etc/network/if-up.d/.empty b/target/device/valka/target_skeleton/etc/network/if-up.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/var/db/.empty b/target/device/valka/target_skeleton/var/db/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/var/run/.empty b/target/device/valka/target_skeleton/var/run/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/device/valka/target_skeleton/web/.empty b/target/device/valka/target_skeleton/web/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/bin/.empty b/target/generic/target_skeleton/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/dev/pts/.empty b/target/generic/target_skeleton/dev/pts/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/etc/ld.so.conf.d/.empty b/target/generic/target_skeleton/etc/ld.so.conf.d/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/home/.empty b/target/generic/target_skeleton/home/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/lib/.empty b/target/generic/target_skeleton/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/mnt/.empty b/target/generic/target_skeleton/mnt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/opt/.empty b/target/generic/target_skeleton/opt/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/proc/.empty b/target/generic/target_skeleton/proc/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/root/.empty b/target/generic/target_skeleton/root/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/sbin/.empty b/target/generic/target_skeleton/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/tmp/.empty b/target/generic/target_skeleton/tmp/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/usr/bin/.empty b/target/generic/target_skeleton/usr/bin/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/usr/lib/.empty b/target/generic/target_skeleton/usr/lib/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/target/generic/target_skeleton/usr/sbin/.empty b/target/generic/target_skeleton/usr/sbin/.empty new file mode 100644 index 0000000000..e69de29bb2