2023-04-01 12:23:19 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="quirks"
|
2023-05-01 21:16:24 +00:00
|
|
|
PKG_VERSION=""
|
2023-04-01 12:23:19 +00:00
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_LICENSE="apache2"
|
|
|
|
PKG_SITE=""
|
|
|
|
PKG_URL=""
|
2023-09-20 02:14:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain autostart ioport ectool"
|
2023-04-01 12:23:19 +00:00
|
|
|
PKG_SHORTDESC="Quirks is a simple package that provides device quirks."
|
|
|
|
PKG_IS_ADDON="no"
|
|
|
|
PKG_AUTORECONF="no"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-07-25 21:06:19 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/lib/autostart/quirks/{platforms,devices}
|
|
|
|
cp -r ${PKG_DIR}/devices/* ${INSTALL}/usr/lib/autostart/quirks/devices
|
|
|
|
if [ -d "${PKG_DIR}/platforms/${DEVICE}" ]
|
|
|
|
then
|
|
|
|
cp -r ${PKG_DIR}/platforms/* ${INSTALL}/usr/lib/autostart/quirks/platforms
|
|
|
|
fi
|
2023-04-01 12:23:19 +00:00
|
|
|
chmod -R 0755 ${INSTALL}/usr/lib/autostart/quirks
|
|
|
|
}
|