1
0

release 6.15.8

This commit is contained in:
2025-07-26 13:24:48 +03:00
parent 48372baf14
commit 4d05ae4de6
27 changed files with 206 additions and 244 deletions

View File

@@ -1,4 +1,11 @@
PROGS = \
fixdep
fixdep.host
include $(top_rulesdir)/Makefile.inc
# We build fixdep as fixdep.host to avoid overwriting the native build
# that Kbuild depends on
fixdep.host: fixdep.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $<
install-local-progs:
install -D -m755 fixdep.host $(DESTDIR)/$(installdir)/fixdep

View File

@@ -1,16 +1,3 @@
PROGS = genksyms
KBUILD_PROGS = genksyms
include $(top_rulesdir)/Makefile.inc
genksyms: genksyms.o parse.tab.o lex.lex.o
lex.lex.o: keywords.c parse.tab.h
parse.tab.c: parse.y
$(YACC) -o$@ -t -l $<
parse.tab.h: parse.y
$(YACC) -o/dev/null --defines=$@ -t -l $<
lex.lex.c: lex.l
$(LEX) -o$@ -L $<

View File

@@ -1,16 +1,3 @@
PROGS = conf
KBUILD_PROGS = conf
include $(top_rulesdir)/Makefile.inc
conf: conf.o confdata.o expr.o lexer.lex.o menu.o parser.tab.o preprocess.o symbol.o util.o
lexer.lex.o: parser.tab.h
%.lex.c: %.l
flex -o$@ -L $<
%.tab.c: %.y
bison -o$@ -t -l $<
%.tab.h: %.y
bison -o/dev/null --defines=$@ -t -l $<

View File

@@ -10,12 +10,12 @@ include $(top_rulesdir)/Makefile.inc
wrapperdir = $(top_rulesdir)/$(OUTDIR)
modpost.real-%:
$(MAKE) -f $(wrapperdir)/Makefile.real TYPE=$* SOURCEDIR=$(top_srcdir)/scripts/mod
$(MAKE) -f $(wrapperdir)/Makefile.real TYPE=$* SOURCEDIR=$(srcdir)
%: %.o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
modpost-opts.h: $(top_srcdir)/scripts/mod/modpost.c
modpost-opts.h: $(srcdir)/modpost.c
$(wrapperdir)/gendef.py $< > $@
modpost.o: modpost.c modpost-opts.h