aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/external
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-15 05:56:08 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-15 05:56:08 +0000
commit66bfe54de0edbaac83738e71a93b6f7c67fd08af (patch)
treea2555944067ff1de2a97e2367f98ed944aa4cac1 /resources/scripts/helpers/build/external
parent1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7 (diff)
downloadlibrebootfr-66bfe54de0edbaac83738e71a93b6f7c67fd08af.tar.gz
librebootfr-66bfe54de0edbaac83738e71a93b6f7c67fd08af.zip
build/external/source: only include the necessary files
Diffstat (limited to 'resources/scripts/helpers/build/external')
-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 833c1801..bff7b163 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