Deleted Added
full compact
acpica_prep.sh (213806) acpica_prep.sh (217365)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/sys/contrib/dev/acpica/acpica_prep.sh 213806 2010-10-13 21:37:02Z jkim $
2# $FreeBSD: head/sys/contrib/dev/acpica/acpica_prep.sh 217365 2011-01-13 17:32:32Z jkim $
3#
4# Unpack an ACPI CA drop and restructure it to fit the FreeBSD layout
5#
6
7if [ ! $# -eq 1 ]; then
8 echo "usage: $0 acpica_archive"
9 exit
10fi
11
12src=$1
13wrk=`realpath ./_acpi_ca_unpack`
14dst=`realpath ./acpi_ca_destination`
15
16# files that should keep their full directory path
17fulldirs="common compiler debugger disassembler dispatcher events \
18 executer hardware include namespace parser resources tables \
19 tools utilities"
20
21# files to remove
3#
4# Unpack an ACPI CA drop and restructure it to fit the FreeBSD layout
5#
6
7if [ ! $# -eq 1 ]; then
8 echo "usage: $0 acpica_archive"
9 exit
10fi
11
12src=$1
13wrk=`realpath ./_acpi_ca_unpack`
14dst=`realpath ./acpi_ca_destination`
15
16# files that should keep their full directory path
17fulldirs="common compiler debugger disassembler dispatcher events \
18 executer hardware include namespace parser resources tables \
19 tools utilities"
20
21# files to remove
22stripdirs="acpisrc acpixtract examples generate os_specific tests"
22stripdirs="acpinames acpisrc acpixtract examples generate os_specific \
23 tests"
23stripfiles="Makefile README acintel.h aclinux.h acmsvc.h acnetbsd.h \
24 acos2.h accygwin.h acefi.h acwin.h acwin64.h aeexec.c \
25 aehandlers.c aemain.c aetables.c aetables.h osunixdir.c \
26 readme.txt utclib.c"
27
28# include files to canonify
29src_headers="acapps.h accommon.h acconfig.h acdebug.h acdisasm.h \
30 acdispat.h acevents.h acexcep.h acglobal.h achware.h acinterp.h \

--- 60 unchanged lines hidden ---
24stripfiles="Makefile README acintel.h aclinux.h acmsvc.h acnetbsd.h \
25 acos2.h accygwin.h acefi.h acwin.h acwin64.h aeexec.c \
26 aehandlers.c aemain.c aetables.c aetables.h osunixdir.c \
27 readme.txt utclib.c"
28
29# include files to canonify
30src_headers="acapps.h accommon.h acconfig.h acdebug.h acdisasm.h \
31 acdispat.h acevents.h acexcep.h acglobal.h achware.h acinterp.h \

--- 60 unchanged lines hidden ---