Debian Codegraph @

dracut/modules.d/50kiwi-verity/Makefile

raw
1 buildroot ?= /
2
3 CROSS_COMPILE ?=
4 CC ?= $(CROSS_COMPILE)gcc
5 CFLAGS += -Werror -Wall -Wextra
6
7 BINARY := kiwi-parse-verity
8
9 .PHONY: all
10 all: build
11
12 .PHONY: install
13 install: build
14 install -Dm0755 \
15 kiwi-verity-setup.sh kiwi-veritytab-setup.sh module-setup.sh \
16 -t ${buildroot}usr/lib/dracut/modules.d/50kiwi-verity
17 install -Dm0755 $(BINARY) ${buildroot}usr/bin/$(BINARY)
18
19 .PHONY: build
20 build: $(BINARY)
21
22 .PHONY: clean
23 clean:
24 rm -f $(BINARY)