| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | CFLAGS += -I. -I../../include -g -O2 -Wall -fsanitize=address |
|---|
| 2 | 3 | LDFLAGS += -fsanitize=address -fsanitize=undefined |
|---|
| 3 | 4 | TARGETS = main |
|---|
| .. | .. |
|---|
| 13 | 14 | main: $(OFILES) |
|---|
| 14 | 15 | |
|---|
| 15 | 16 | clean: |
|---|
| 16 | | - $(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h asm/io.h |
|---|
| 17 | + $(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linux/slab.h asm/io.h |
|---|
| 17 | 18 | @rmdir asm |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | scatterlist.c: ../../../lib/scatterlist.c |
|---|
| .. | .. |
|---|
| 27 | 28 | @touch asm/io.h |
|---|
| 28 | 29 | @touch linux/highmem.h |
|---|
| 29 | 30 | @touch linux/kmemleak.h |
|---|
| 31 | + @touch linux/slab.h |
|---|
| 30 | 32 | @cp $< linux/scatterlist.h |
|---|