blob: 9f61b13db90edb3a70dd621897d1a9c36d648484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#
#
ifeq ($(KERNELRELEASE),)
KERNELDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
TOPDIR := $(PWD)/../../../..
modules modules_install clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) $@ TOPDIR=$(TOPDIR)
else
-include $(TOPDIR)/Makefile.common
obj-$(CONFIG_CAN_MPC52XX) += mscan-mpc52xx.o
mscan-mpc52xx-objs := mscan.o mpc52xx_can.o
ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
endif
|