acpica/generate/linux/patches/get-acpi.pl
Robert Moore 5c55a3aed7 Update linux patchgen scripts for git.
Update for use with CVS to use for git.
2008-07-01 09:05:25 -07:00

28 lines
578 B
Perl
Executable File

#
# get-acpi
#
# Checkout a version of ACPICA, including all source, headers, and
# makefiles. The parameter, if given, specifies the GIT tag to be checked out.
#
# requires GIT
#
# modify githome as necessary.
#
$githome = "http://www.acpica.org/repos/acpica.git";
$gitroot = "acpica";
$version;
# Get optional parameter and use as the GIT tag
if ($ARGV[0])
{
$version = $ARGV[0];
}
# Checkout entire source and linux makefiles
system("echo Getting version $version of ACPICA");
system("rm -rf $gitroot; http_proxy=http://proxy.jf.intel.com:911 git clone $githome");