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"
|
2023-03-29 00:10:33 +00:00
|
|
|
PKG_VERSION="$(date +%Y%m%d)"
|
2023-03-12 17:20:55 +00:00
|
|
|
PKG_LICENSE="Apache-2.0"
|
|
|
|
PKG_SITE="www.jelos.org"
|
|
|
|
PKG_LONGDESC="Realtek RTL8821CS Linux firmware"
|
|
|
|
PKG_DEPENDS_TARGET="linux"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
make_target() {
|
2023-03-29 00:10:33 +00:00
|
|
|
:
|
2023-03-12 17:20:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-03-29 00:10:33 +00:00
|
|
|
cp -v $(get_build_dir linux)/firmware/rtk_hciattach ${INSTALL}/usr/bin
|
|
|
|
cp -v $(get_build_dir linux)/firmware/rtl8821c_fw ${INSTALL}/$(get_full_firmware_dir)
|
|
|
|
cp -v $(get_build_dir linux)/firmware/rtl8821cs_config ${INSTALL}/$(get_full_firmware_dir)/rtl8821c_config
|
2023-03-12 17:20:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
enable_service hciattach-realtek.service
|
|
|
|
}
|