Skip to content

Commit 22ec8d0

Browse files
committed
[Mellanox]Passing the installed kernel headers during SDK compilation
1 parent 8db0a1f commit 22ec8d0

File tree

1 file changed

+1
-1
lines changed
  • platform/mellanox/sdk-src/wjh-libs

1 file changed

+1
-1
lines changed

platform/mellanox/sdk-src/wjh-libs/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
2020
./autogen.sh
2121
fi
2222

23-
debuild -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
23+
debuild -e 'KVERSION=$(shell ls -t /lib/modules |head -1)' -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
2424

2525
popd
2626

0 commit comments

Comments
 (0)