summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions.sh14
-rwxr-xr-xinit-and-build.sh4
2 files changed, 18 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
index 6be1e40..41fea44 100755
--- a/functions.sh
+++ b/functions.sh
@@ -62,6 +62,20 @@ git_clone_update()
fi
}
+fix_oe_core_git()
+{
+ cd openembedded-core;
+ git reset --hard 62f1122ef166eba56441d669c6b3b3fe5f367418
+ git revert --no-edit 1a7b843d575b290917d1e379c2ba106460988230
+ git revert --no-edit a2b278a6eaa9e9b48d858e3be6712267c0122598
+ git revert --no-edit 4097694b13cd5f0d68987551c3f9af80c87dc6ae
+ wget https://patchwork.openembedded.org/patch/143520/raw/ -O patch
+ patch -p1 < patch
+ sed -i "s/sysrootcache/aclocalcache/g" meta/classes/autotools.bbclass
+ rm -rf patch
+ cd -
+}
+
conf_bblayers()
{
# add required layers
diff --git a/init-and-build.sh b/init-and-build.sh
index 219e153..c66d724 100755
--- a/init-and-build.sh
+++ b/init-and-build.sh
@@ -81,6 +81,10 @@ show_setup
git_clone_update
+if [ ${MACHINE} == hikey-ilp32 ] || [ ${MACHINE} == genericarmv8-ilp32 ]; then
+ fix_oe_core_git
+fi
+
# the purpose of the 'init' function is to prepare the <build> folder
# the default init function suitable for Linaro Platform builds, but
# the user can specify a custom function if needed. In any case, the