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).
This commit is contained in:
parent
697dd2ed93
commit
01c5168579
1
Makefile
1
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
|
||||
|
0
target/device/Atmel/atngw100/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/Atmel/atngw100/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/Atmel/atstk1002/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/Atmel/atstk1002/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/Atmel/root/target_skeleton/bin/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/bin/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/dev/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/dev/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/lib/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/lib/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/mnt/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/mnt/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/opt/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/opt/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/tmp/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/tmp/.empty
Normal file
0
target/device/Atmel/root/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/Atmel/root/target_skeleton/var/cache/.empty
vendored
Normal file
0
target/device/jp/q5/target_skeleton/bin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/bin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/dev/pts/.empty
Normal file
0
target/device/jp/q5/target_skeleton/dev/pts/.empty
Normal file
0
target/device/jp/q5/target_skeleton/home/.empty
Normal file
0
target/device/jp/q5/target_skeleton/home/.empty
Normal file
0
target/device/jp/q5/target_skeleton/lib/.empty
Normal file
0
target/device/jp/q5/target_skeleton/lib/.empty
Normal file
0
target/device/jp/q5/target_skeleton/mnt/.empty
Normal file
0
target/device/jp/q5/target_skeleton/mnt/.empty
Normal file
0
target/device/jp/q5/target_skeleton/opt/.empty
Normal file
0
target/device/jp/q5/target_skeleton/opt/.empty
Normal file
0
target/device/jp/q5/target_skeleton/proc/.empty
Normal file
0
target/device/jp/q5/target_skeleton/proc/.empty
Normal file
0
target/device/jp/q5/target_skeleton/root/.empty
Normal file
0
target/device/jp/q5/target_skeleton/root/.empty
Normal file
0
target/device/jp/q5/target_skeleton/sbin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/sbin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/tmp/.empty
Normal file
0
target/device/jp/q5/target_skeleton/tmp/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/bin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/bin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/lib/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/lib/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/sbin/.empty
Normal file
0
target/device/jp/q5/target_skeleton/usr/sbin/.empty
Normal file
0
target/device/valka/target_skeleton/var/db/.empty
Normal file
0
target/device/valka/target_skeleton/var/db/.empty
Normal file
0
target/device/valka/target_skeleton/var/run/.empty
Normal file
0
target/device/valka/target_skeleton/var/run/.empty
Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user