Kyle Swenson | cc33c24 | 2022-05-16 10:38:04 -0600 | [diff] [blame] | 1 | # Makefile for ADS7924 ADC |
2 | |||||
3 | ROOT ?= $(abspath ../../..) | ||||
4 | include $(ROOT)/Makefile.config | ||||
5 | |||||
6 | unexport CC CPP LD CFLAGS CPPFLAGS LDFLAGS AR RANLIB | ||||
7 | |||||
8 | default: install | ||||
9 | |||||
10 | all: | ||||
11 | $(MAKE) -C $(CPKERN) M=$(CURDIR) -Wall | ||||
12 | |||||
13 | install: all | ||||
14 | $(MAKE) -C $(CPKERN) M=$(CURDIR) INSTALL_MOD_PATH=$(ROOT)/$(IMGDIR)/rootfs ARCH=$(ARCH) modules_install | ||||
15 | |||||
16 | clean: | ||||
17 | $(MAKE) -C $(CPKERN) M=$(CURDIR) clean | ||||
18 | |||||
19 | tags: | ||||
20 | ctags -R . $(CPKERN) |