Am 2016-11-15 um 19:05 schrieb Andrei Borzenkov:
15.11.2016 18:39, Rainer Klier пишет:
but is there a problem doing it?
Because it depends on your personal environment and may change compile parameters in unpredictable way. As trivial example
linux-ffk5:/usr/src/linux-4.8.6-2-obj/x86_64/default # make -n V=1 prepare make -C ../../../linux-4.8.6-2 O=/usr/src/linux-4.8.6-2-obj/x86_64/default/. prepare make -C /usr/src/linux-4.8.6-2-obj/x86_64/default KBUILD_SRC=/usr/src/linux-4.8.6-2 -f /usr/src/linux-4.8.6-2/Makefile prepare /usr/src/linux-4.8.6-2/Makefile:1052: "Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
sorry, but i don't understand. when i do the "make prepare" and "make modules_prepare" inside of /usr/src/linux-obj/x86_64/default it runs without any problems.
And of course it requires full kernel-source that is not needed normally and that I do not have.
ah, ok. i have full kernel source package installed. so, what you are saying is, that when having installed these packages: kernel-default-4.8.7-2.1.g91441e5.x86_64 kernel-default-devel-4.8.7-2.1.g91441e5.x86_64 kernel-devel-4.8.7-2.1.g91441e5.noarch kernel-macros-4.8.7-2.1.g91441e5.noarch it is simply not necessary to: * install also kernel-source-4.8.7-2.1.g91441e5.noarch * do a "make prepare" and "make modules_prepare" after kernel update to be able to compile kernel modules like nvidia, vmware, wl and displaylink? -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | *DI Rainer Klier* Research & Development, Technical Sales Consultant Namirial GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org