207-mips-vdso-dbg-rebuild-after-genvdso.patch 1.1 KB

1234567891011121314151617181920212223242526272829
  1. --- a/arch/mips/vdso/Makefile
  2. +++ b/arch/mips/vdso/Makefile
  3. @@ -79,7 +79,7 @@ $(obj-vdso): KBUILD_AFLAGS := $(aflags-v
  4. $(obj)/vdso.lds: KBUILD_CPPFLAGS := $(ccflags-vdso) $(native-abi)
  5. -$(obj)/vdso.so.dbg: $(obj)/vdso.lds $(obj-vdso) FORCE
  6. +$(obj)/vdso.so.dbg: $(obj)/vdso.lds $(obj-vdso) $(obj)/genvdso FORCE
  7. $(call if_changed,vdsold)
  8. $(obj)/vdso-image.c: $(obj)/vdso.so.dbg $(obj)/genvdso FORCE
  9. @@ -113,7 +113,7 @@ $(obj)/vdso-o32.lds: KBUILD_CPPFLAGS :=
  10. $(obj)/vdso-o32.lds: $(src)/vdso.lds.S FORCE
  11. $(call if_changed_dep,cpp_lds_S)
  12. -$(obj)/vdso-o32.so.dbg: $(obj)/vdso-o32.lds $(obj-vdso-o32) FORCE
  13. +$(obj)/vdso-o32.so.dbg: $(obj)/vdso-o32.lds $(obj-vdso-o32) $(obj)/genvdso FORCE
  14. $(call if_changed,vdsold)
  15. $(obj)/vdso-o32-image.c: VDSO_NAME := o32
  16. @@ -149,7 +149,7 @@ $(obj)/vdso-n32.lds: KBUILD_CPPFLAGS :=
  17. $(obj)/vdso-n32.lds: $(src)/vdso.lds.S FORCE
  18. $(call if_changed_dep,cpp_lds_S)
  19. -$(obj)/vdso-n32.so.dbg: $(obj)/vdso-n32.lds $(obj-vdso-n32) FORCE
  20. +$(obj)/vdso-n32.so.dbg: $(obj)/vdso-n32.lds $(obj-vdso-n32) $(obj)/genvdso FORCE
  21. $(call if_changed,vdsold)
  22. $(obj)/vdso-n32-image.c: VDSO_NAME := n32