This is a repository for making fclkcfg kernel module debian package.
Fclkcfg is a FPGA Clock Configuration Device Driver.
For details of fclkcfg, please refer to following URL.
shell$ git clone --recursive --depth=1 -b v1.7.2 git://github.com/ikwzm/fclkcfg-kmod-dpkg
shell$ cd fclkcfg-kmod-dpkg
Parameter Name | Description | Default Value |
---|---|---|
kernel_release | Kernel Release Name | $(shell uname -r) |
arch | Architecture Name | $(shell uname -m | sed -e s/arm.*/arm/ -e s/aarch64.*/arm64/) |
deb_arch | Debian Architecture Name | $(shell dpkg --print-architecture) |
kernel_src_dir | Kernel Source Directory | /lib/modules/$(kernel_release)/build |
shell$ sudo debian/rules arch=arm deb_arch=armhf kernel_release=5.4.47-armv7-fpga kernel_src_dir=/usr/src/linux-5.4.47-armv7-fpga binary
:
:
:
shell$ file ../fclkcfg-5.4.47-armv7-fpga_1.7.2-1_armhf.deb
../fclkcfg-5.4.47-armv7-fpga_1.7.2-1_armhf.deb: Debian binary package (format 2.0)
shell$ sudo debian/rules binary
:
:
:
shell$ file ../fclkcfg-5.4.47-armv7-fpga_1.7.2-1_armhf.deb
../fclkcfg-5.4.47-armv7-fpga_1.7.2-1_armhf.deb: Debian binary package (format 2.0)