You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- make -C changes the directory to /mnt/linux.
- With linux commit 13b25489b6f8, make inturn switches the working directory to the external module directory /root/.kpatch/tmp/patch.
- $(KPATCH_MAKE) patch-hook.o is called, which inturn changes directory back to /mnt/linux and patch-hook.o is not found
- Remove $(KPATCH_MAKE) patch-hook.o in Makefile. This would mean make patch-hook.o cannot be performed directly.
- Dependencies in Makefile:
$(KPATCH_NAME)-objs += patch-hook.o output.o
patch-hook.o: patch-hook.c kpatch-patch-hook.c livepatch-patch-hook.c
- However, If any of the above sources are updated, kpatch module would be rebuilt anyways.
Hi All,
Starting from linux commit 13b25489b6f8 ("kbuild: change working directory to external module directory with M="), the kpatch-build fails
Error notes:
Previous working state:
Possible resolution:
Possible resolution patch:
Resolution output:
Let me know, if this solution is optimal or reasonable. If yes, I will proceed with the patch.
Thank you,
Sumanth
The text was updated successfully, but these errors were encountered: