2019-07-17 18:13:51 -07:00
|
|
|
|
|
|
|
# object files to build
|
|
|
|
obj-m += mqnic.o
|
2021-02-01 20:10:48 -08:00
|
|
|
mqnic-y += mqnic_main.o
|
2021-12-12 13:34:33 -08:00
|
|
|
mqnic-y += mqnic_irq.o
|
2021-02-01 20:10:48 -08:00
|
|
|
mqnic-y += mqnic_dev.o
|
|
|
|
mqnic-y += mqnic_netdev.o
|
|
|
|
mqnic-y += mqnic_port.o
|
|
|
|
mqnic-y += mqnic_ptp.o
|
|
|
|
mqnic-y += mqnic_i2c.o
|
|
|
|
mqnic-y += mqnic_board.o
|
|
|
|
mqnic-y += mqnic_tx.o
|
|
|
|
mqnic-y += mqnic_rx.o
|
|
|
|
mqnic-y += mqnic_cq.o
|
|
|
|
mqnic-y += mqnic_eq.o
|
|
|
|
mqnic-y += mqnic_ethtool.o
|
2019-07-17 18:13:51 -07:00
|
|
|
|
|
|
|
all:
|
|
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
|
|
|