mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
081c65360b
Add a bootconfig test script to ensure the tool and boot config parser are working correctly. Link: http://lkml.kernel.org/r/157867224728.17873.18114241801246589416.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
24 lines
416 B
Makefile
24 lines
416 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for bootconfig command
|
|
|
|
bindir ?= /usr/bin
|
|
|
|
HEADER = include/linux/bootconfig.h
|
|
CFLAGS = -Wall -g -I./include
|
|
|
|
PROGS = bootconfig
|
|
|
|
all: $(PROGS)
|
|
|
|
bootconfig: ../../lib/bootconfig.c main.c $(HEADER)
|
|
$(CC) $(filter %.c,$^) $(CFLAGS) -o $@
|
|
|
|
install: $(PROGS)
|
|
install bootconfig $(DESTDIR)$(bindir)
|
|
|
|
test: bootconfig
|
|
./test-bootconfig.sh
|
|
|
|
clean:
|
|
$(RM) -f *.o bootconfig
|