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)
commit1a35fdbb24428940057fd7d8b1209ec60ad09da2
tree410f6b2e0f69f909b2fa99e2446ae70c2a956411
parentbe66065062dac068bb72b210341859d78fb0e1ed
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