sdk: track files with git and use it to implement proper clean targets
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 10 Jan 2015 11:17:02 +0000 (11:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 10 Jan 2015 11:17:02 +0000 (11:17 +0000)
commit4685e4f27310d55c20c8062b2b4f782e4b709694
treea4b102a9368dd9edc59218db80b9968991492b70
parent64e7b41b2e95ac9a417b4fdf144134af20caa66a
sdk: track files with git and use it to implement proper clean targets

Initialize a Git repository in the SDK and use git reset / git clean
to rollback any SDK changes with "make clean" or "make dirclean".

This approach is more robust than nuking entire directory trees because
some parts of them might have been shipped with the original archive.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43904
include/toplevel.mk
target/sdk/files/Makefile