build: fix the toolchain rebuild check
authorFelix Fietkau <nbd@nbd.name>
Thu, 16 Feb 2017 06:43:27 +0000 (07:43 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 16 Feb 2017 07:13:16 +0000 (08:13 +0100)
commitf44ae19e1566410b75de5039071a42a0f3ade949
tree153987aa527550a17545dbcd0137bb7c1fe677b1
parenta11243578ad159cb75c175bf9c2236f3a0af85ea
build: fix the toolchain rebuild check

- Check for changes in toolchain/ only
- Only replace the stamp file if it was changed
- Fix dependencies for staging dir prepare
- Move the stamp file to TOOLCHAIN_DIR

Signed-off-by: Felix Fietkau <nbd@nbd.name>
toolchain/Makefile