Deleted Added
full compact
acpica_prep.sh (239340) acpica_prep.sh (250838)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/sys/contrib/dev/acpica/acpica_prep.sh 239340 2012-08-16 20:54:52Z jkim $
2# $FreeBSD: head/sys/contrib/dev/acpica/acpica_prep.sh 250838 2013-05-20 23:52:49Z 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 components include os_specific"
18
19# files to remove
20stripdirs="generate libraries tests tools"
21stripfiles="Makefile README accygwin.h acefi.h achaiku.h acintel.h \
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 components include os_specific"
18
19# files to remove
20stripdirs="generate libraries tests tools"
21stripfiles="Makefile README accygwin.h acefi.h achaiku.h acintel.h \
22 aclinux.h acmsvc.h acnetbsd.h acos2.h acwin.h acwin64.h \
23 new_table.txt osunixdir.c oswindir.c oswintbl.c oswinxf.c \
24 readme.txt utclib.c"
22 aclinux.h acmacosx.h acmsvc.h acnetbsd.h acos2.h acwin.h \
23 acwin64.h new_table.txt oslinuxtbl.c osunixdir.c oswindir.c \
24 oswintbl.c oswinxf.c readme.txt utclib.c"
25
26# include files to canonify
27src_headers="acapps.h acbuffer.h accommon.h acconfig.h acdebug.h \
28 acdisasm.h acdispat.h acevents.h acexcep.h acglobal.h achware.h \
29 acinterp.h aclocal.h acmacros.h acnames.h acnamesp.h acobject.h \
30 acopcode.h acoutput.h acparser.h acpi.h acpiosxf.h acpixf.h \
31 acpredef.h acresrc.h acrestyp.h acstruct.h actables.h actbl.h \
32 actbl1.h actbl2.h actbl3.h actypes.h acutils.h amlcode.h \

--- 58 unchanged lines hidden ---
25
26# include files to canonify
27src_headers="acapps.h acbuffer.h accommon.h acconfig.h acdebug.h \
28 acdisasm.h acdispat.h acevents.h acexcep.h acglobal.h achware.h \
29 acinterp.h aclocal.h acmacros.h acnames.h acnamesp.h acobject.h \
30 acopcode.h acoutput.h acparser.h acpi.h acpiosxf.h acpixf.h \
31 acpredef.h acresrc.h acrestyp.h acstruct.h actables.h actbl.h \
32 actbl1.h actbl2.h actbl3.h actypes.h acutils.h amlcode.h \

--- 58 unchanged lines hidden ---