From b93d6577df5db651d6c14977373acce421074530 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 17 Feb 2018 16:50:53 +0100 Subject: [PATCH 1/2] acpica: Add version 20180209 The tool iASL is needed to build coreboot, and is generally helpful in dealing with ASL code/ACPI tables (compile/decompile). [Description][1]: > Technical Overview > ------------------ > > ACPICA defines and implements a group of software components that > together create an implementation of the ACPI specification for both > 32-bit and 64-bit platforms. A major goal of the architecture is to > isolate all operating system dependencies to a relatively small > translation or conversion layer (called the OS Services Layer) so that > the bulk of the ACPICA code is independent of any individual OS. > Therefore, hosting the ACPICA code on new operating systems requires > no source code changes within the ACPICA code itself. > > The major kernel-level components of the architecture include: > > * AML Interpreter > * ACPI Table Manager > * ACPI Namespace Manager > * ACPI Resource Manager > * ACPI Fixed and General Purpose Event Support > * ACPI Hardware Support > * AML Disassembler (optional) > * AML Debugger (optional) > > There are also several user-space tools and utilities that are built > upon the above components (The ACPICA components run in both kernel > mode and user mode): > > * ACPI Source Code Compiler & Disassembler (iASL) > * ACPI Simulator/Executer (AcpiExec) > * ACPI System Table dump to ASCII utility > * ACPI Table Extractor (inverse of acpidump utility) > * ACPI Help Utility (AcpiHelp) Create the bee file with the command below. ``` $ bee init -o acpica-20180209-0.bee https://acpica.org/sites/acpica/files/acpica-unix2-20180209.tar.gz creating acpica-20180209-0.bee from template '/etc/default/bee/templates/fallback' ``` [1]: https://www.acpica.org/ --- acpica-20180209-0.bee | 83 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100755 acpica-20180209-0.bee diff --git a/acpica-20180209-0.bee b/acpica-20180209-0.bee new file mode 100755 index 000000000..d90a900dc --- /dev/null +++ b/acpica-20180209-0.bee @@ -0,0 +1,83 @@ +#!/usr/bin/env beesh + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="https://acpica.org/sites/acpica/files/acpica-unix2-${PKGVERSION}.tar.gz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Add filename patterns to the EXCLUDE array of files that should not +## be added to you package but may be present in the image directory. + +# EXCLUDE+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +## From 65fa2b1ebbfa5a5991b0805fac20dddb45eba48c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 17 Feb 2018 16:54:53 +0100 Subject: [PATCH 2/2] acpica: Convert to versionless bee file --- acpica-20180209-0.bee => acpica.be0 | 2 ++ 1 file changed, 2 insertions(+) rename acpica-20180209-0.bee => acpica.be0 (98%) diff --git a/acpica-20180209-0.bee b/acpica.be0 similarity index 98% rename from acpica-20180209-0.bee rename to acpica.be0 index d90a900dc..d19841d8b 100755 --- a/acpica-20180209-0.bee +++ b/acpica.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION acpica-20180209-0 + ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.)