initial commit
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
This commit is contained in:
22
debian/rules.d/scripts/mod/Makefile
vendored
Normal file
22
debian/rules.d/scripts/mod/Makefile
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
PROGS = \
|
||||
modpost \
|
||||
modpost.real-lsb-32 \
|
||||
modpost.real-lsb-64 \
|
||||
modpost.real-msb-32 \
|
||||
modpost.real-msb-64
|
||||
|
||||
include $(top_rulesdir)/Makefile.inc
|
||||
|
||||
wrapperdir = $(top_rulesdir)/$(OUTDIR)
|
||||
|
||||
modpost.real-%:
|
||||
$(MAKE) -f $(wrapperdir)/Makefile.real TYPE=$* SOURCEDIR=$(top_srcdir)/scripts/mod
|
||||
|
||||
%: %.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
modpost-opts.h: $(top_srcdir)/scripts/mod/modpost.c
|
||||
$(wrapperdir)/gendef.py $< > $@
|
||||
|
||||
modpost.o: modpost.c modpost-opts.h
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -I $(CURDIR) -c -o $@ $<
|
Reference in New Issue
Block a user