diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-15 00:56:08 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-15 00:56:08 (EST) |
commit | 66bfe54de0edbaac83738e71a93b6f7c67fd08af (patch) | |
tree | a2555944067ff1de2a97e2367f98ed944aa4cac1 | |
parent | 1ef9824bf5c0dcd98b3d6a47c98d6cf1f3c61df7 (diff) | |
download | libreboot-66bfe54de0edbaac83738e71a93b6f7c67fd08af.zip libreboot-66bfe54de0edbaac83738e71a93b6f7c67fd08af.tar.gz libreboot-66bfe54de0edbaac83738e71a93b6f7c67fd08af.tar.bz2 |
build/external/source: only include the necessary files
-rwxr-xr-x | resources/scripts/helpers/build/external/source | 18 |
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 |