acpica2netbsd revision 1.4
11.1Schristos#!/bin/sh 21.1Schristos 31.4Schristos# $NetBSD: acpica2netbsd,v 1.4 2025/02/24 14:35:07 christos Exp $ 41.1Schristos# 51.1Schristos# Copyright (c) 2014 The NetBSD Foundation. 61.1Schristos# All rights reserved. 71.1Schristos# 81.1Schristos# Redistribution and use in source and binary forms, with or without 91.1Schristos# modification, are permitted provided that the following conditions 101.1Schristos# are met: 111.1Schristos# 1. Redistributions of source code must retain the above copyright 121.1Schristos# notice, this list of conditions and the following disclaimer. 131.1Schristos# 2. Redistributions in binary form must reproduce the above copyright 141.1Schristos# notice, this list of conditions and the following disclaimer in the 151.1Schristos# documentation and/or other materials provided with the distribution. 161.1Schristos# 171.1Schristos# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 181.1Schristos# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 191.1Schristos# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 201.1Schristos# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 211.1Schristos# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 221.1Schristos# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 231.1Schristos# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 241.1Schristos# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 251.1Schristos# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 261.1Schristos# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 271.1Schristos# POSSIBILITY OF SUCH DAMAGE. 281.1Schristos# 291.1Schristos 301.1Schristos# Execute this at the top of the acpica distribution 311.1Schristos# then import it. 321.1Schristos# 331.1Schristos# cvs import src/sys/external/bsd/acpica/dist intel acpica-YYYYMMDD 341.1Schristos 351.1Schristosif [ -z "$1" ] 361.1Schristosthen 371.1Schristos echo "Usage: $0 <dir>" 1>&2 381.1Schristos exit 1 391.1Schristosfi 401.1Schristoscd $1 411.1Schristosecho -n "Shuffling things around" 421.1Schristos 431.1Schristosrmdir libraries 441.1Schristosmv source/* . 451.1Schristosmv components/* . 461.1Schristosrmdir source components 471.1Schristosecho; echo 481.4Schristosfind . -type f -exec chmod a-x {} + 491.4Schristosif [ -f include/ACPIXF.h ]; then 501.4Schristos mv include/ACPIXF.h include/acpixf.h 511.4Schristosfi 52