distribution/packages/kernel/linux-firmware/RTL8821CS-firmware/package.mk

26 lines
674 B
Makefile
Raw Normal View History

2023-03-12 17:20:55 +00:00
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022-present Brooksytech
# Copyright (C) 2022-present Fewtarius
PKG_NAME="RTL8821CS-firmware"
PKG_LICENSE="Apache-2.0"
PKG_SITE="www.jelos.org"
PKG_SECTION="virtual"
PKG_LONGDESC="Realtek RTL8821CS Linux firmware"
PKG_DEPENDS_TARGET="linux"
PKG_TOOLCHAIN="manual"
make_target() {
true
}
makeinstall_target() {
cp -v ${PKG_BUILD}/firmware/rtk_hciattach ${INSTALL}/usr/bin
cp -v ${PKG_BUILD}/firmware/rtl8821c_fw ${INSTALL}/$(get_full_firmware_dir)
cp -v ${PKG_BUILD}/firmware/rtl8821cs_config ${INSTALL}/$(get_full_firmware_dir)/rtl8821c_config
}
post_install() {
enable_service hciattach-realtek.service
}