Fix Makefile

This commit is contained in:
Werner Sembach 2022-08-24 11:47:10 +02:00
parent dbd467bcd4
commit 47337549d7
2 changed files with 9 additions and 7 deletions

View file

@ -16,13 +16,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this software. If not, see <https://www.gnu.org/licenses/>. # along with this software. If not, see <https://www.gnu.org/licenses/>.
# #
obj-m := tuxedo_keyboard.o \ obj-m := src/
./src/clevo_wmi.o \
./src/clevo_acpi.o \
./src/tuxedo_io/tuxedo_io.o \
./src/uniwill_wmi.o
tuxedo_keyboard-y := ./src/tuxedo_keyboard.o ./src/clevo_leds.o
PWD := $(shell pwd) PWD := $(shell pwd)
KDIR := /lib/modules/$(shell uname -r)/build KDIR := /lib/modules/$(shell uname -r)/build

8
src/Kbuild Normal file
View file

@ -0,0 +1,8 @@
obj-m := tuxedo_keyboard.o \
clevo_wmi.o \
clevo_acpi.o \
tuxedo_io/tuxedo_io.o \
uniwill_wmi.o
clevo_wmi-y := clevo_wmi.o clevo_leds.o
clevo_acpi-y := clevo_acpi.o clevo_leds.o