Skip to content

Commit bd560c7

Browse files
committed
vpmadt032: Manually create object file by copying binary blob.
Since kernel commit torvalds/linux@13b2548, the architecture specific object files for vpmadt032_loader, e.g. vpmadt032_x86_64.o is no longer implicitly created from the shipped binary (also known as a binary blob), e.g. vpmadt032_x86_64.o_shipped. Although kbuild should be creating a copy for us, add an explicit rule to create the dependency as a workaround. Resolves: asterisk#78
1 parent 648016d commit bd560c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/dahdi/Kbuild

+6
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ endif
134134

135135
dahdi_vpmadt032_loader-objs := vpmadt032_loader/dahdi_vpmadt032_loader.o
136136

137+
# Since kernel commit 13b25489b6f8bd73ed65f07928f7c27a481f1820,
138+
# the vpmadt032 object is no longer copied from the binary blob (.o_shipped)
139+
# by kernel kbuild for some reason. For now, do it manually:
140+
vpmadt032_loader/vpmadt032_%.o:
141+
cp $@_shipped $@
142+
137143
ifneq ($(DAHDI_ARCH),)
138144
ifneq ($(wildcard $(src)/vpmadt032_loader/vpmadt032_$(DAHDI_ARCH).o_shipped),)
139145
$(shell touch $(KBUILD_EXTMOD)/vpmadt032_loader/.vpmadt032_$(DAHDI_ARCH).o.cmd)

0 commit comments

Comments
 (0)