blob: 3406e1719d8b41d77fa0d8855ae4176ee8dda180 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# SPDX-License-Identifier: GPL-2.0
CC = gcc
CFLAGS = -Wall -O4
CFILES = regs.c ipa_reg.c $(IPA_REG_VER_C)
IPA_REG_VER_C = ipa_reg-v3.0.c ipa_reg-v3.1.c ipa_reg-v3.5.c \
ipa_reg-v3.5.1.c ipa_reg-v4.0.c ipa_reg-v4.1.c \
ipa_reg-v4.2.c ipa_reg-v4.5.c ipa_reg-v4.7.c \
ipa_reg-v4.9.c ipa_reg-v4.11.c
OFILES = $(CFILES:.c=.o)
IPA_REG_VER_O = $(IPA_REG_VER_C:.c=.o)
regs: $(OFILES)
regs.o: ipa_reg.h
ipa_reg.o: ipa_reg.h
$(IPA_REG_VER_O): linux.h ipa_reg.h
ipa_reg.h: ipa_version.h gsi_ee.h
gsi_reg.h: bitfield.h
bitfield.h: linux.h
linux.h: const_hweight.h
clean:
rm -f regs $(OFILES) *.orig
|