aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild/Makefile
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-08-17 20:36:51 +0200
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-08-31 15:15:04 +0000
commit00c404ef7066e31adfc409a15d9e0e118e0b491a (patch)
treea2d6df8cfcca0c78d45b5ba53c861ab5685c6ce1 /build/f_isoroot/f_odlpluginbuild/Makefile
parente2cfdabd45281bf26a45803509f1c3555f3d93d0 (diff)
build: cache: Consider UBUNTU_ARCH in .cacheid
Usually UBUNTU_ARCH is not changed inside the same repository, but we should consider this case anyway for future merging Armband and Fuel@OPNFV repositories/build systems. This applies to all Fuel plugins and the local repo. Change-Id: I1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a)
Diffstat (limited to 'build/f_isoroot/f_odlpluginbuild/Makefile')
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index f51d0bd22..bf811f25f 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -58,6 +58,7 @@ release:.odlbuild
fi
@sha1sum Makefile | awk {'print $$1'} >> .cachedata
@sha1sum config.mk | awk {'print $$1'} >> .cachedata
+ @echo -n $(UBUNTU_ARCH) | sha1sum | awk {'print $$1'} >> .cachedata
cat .cachedata | $(CACHETOOL) getid > .cacheid
# Clean local data related to caching - called prior to ordinary build