miskcoo / ugreen_leds_controller

An LED controller of UGREEN DX4600 Pro NAS, compatible with UGREEN DXP4800/6800/8800 series.
152 stars 22 forks source link

Make build more flexible and complete. #30

Closed vamega closed 5 days ago

vamega commented 5 days ago

Two individual changes here, one per commit.

  1. Allow specifying kernel directory when building
  2. Add an install target to the Makefile.

I was packaging this module for nixos, where the kernel isn't installed under /lib, and was supporting these changes as part of that process.