summaryrefslogtreecommitdiffstats
path: root/resources/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/helpers/build/external/source18
1 files changed, 16 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/external/source b/resources/scripts/helpers/build/external/source
index 833c180..bff7b16 100755
--- a/resources/scripts/helpers/build/external/source
+++ b/resources/scripts/helpers/build/external/source
@@ -29,23 +29,37 @@ rm -f tobuild.tar.xz
# this is where they will go
mkdir tobuild
-cp -r resources/ tobuild/
-
# flashrom
cp -r flashrom/ tobuild/
cd tobuild/flashrom/
rm -f flashrom_lenovobios_sst flashrom_lenovobios_macronix
make clean
cd ../../
+mkdir tobuild/resources/
+mkdir tobuild/resources/flashrom/
+cp -r resources/flashrom/patch/ tobuild/resources/flashrom/
# bucts
cp -r bucts tobuild/
cd tobuild/bucts/
make clean
cd ../../
+mkdir tobuild/resources/bucts/
+cp -r resources/bucts/patch/ tobuild/resources/bucts/
# the build script will be needed
cp build tobuild/
+# needed build scripts (helpers)
+mkdir tobuild/resources/scripts/
+mkdir tobuild/resources/scripts/helpers/
+mkdir tobuild/resources/scripts/helpers/build/
+mkdir tobuild/resources/scripts/helpers/build/module/
+mkdir tobuild/resources/scripts/helpers/build/clean/
+cp resources/scripts/helpers/build/clean/bucts tobuild/resources/scripts/helpers/build/clean/
+cp resources/scripts/helpers/build/clean/flashrom tobuild/resources/scripts/helpers/build/clean/
+cp resources/scripts/helpers/build/module/bucts tobuild/resources/scripts/helpers/build/module/
+cp resources/scripts/helpers/build/module/flashrom tobuild/resources/scripts/helpers/build/module/
+cp resources/scripts/misc/powertop.trisquel7 tobuild/
# that is all. now tar it up
tar -c tobuild | xz -9e >tobuild.tar.xz