mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2026-05-11 10:30:26 +02:00
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>
416 B
416 B
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