Welcome to the Linux Foundation Forum!

kselftesttask: O= not working

For this task I'm supposed to upload a report.
But whenever I use O= to save my ouput on a specific location it throws error.

  1. pegasus@pegasusv:/linux_work/linux_latest_bootable$ sudo make TARGETS="timers" O=/tmp/kselftest kselftest
  2. [sudo] password for pegasus:
  3. make[1]: Entering directory '/tmp/kselftest'
  4. SYNC include/config/auto.conf.cmd
  5. ***
  6. *** The source tree is not clean, please run 'make mrproper'
  7. *** in /linux_work/linux_latest_bootable
  8. ***
  9. make[2]: *** [/linux_work/linux_latest_bootable/Makefile:646: outputmakefile] Error 1
  10. /linux_work/linux_latest_bootable/Makefile:770: include/config/auto.conf.cmd: No such file or directory
  11. make[1]: *** [/linux_work/linux_latest_bootable/Makefile:793: include/config/auto.conf.cmd] Error 2
  12. make[1]: Leaving directory '/tmp/kselftest'
  13. make: *** [Makefile:226: __sub-make] Error 2

I had already run sudo make mrproper. But it doesn't work. Kernel version is 6.4.0-rc3+

But when I don't use O= it works perfectly. How can I get the report without
specifying the location with O= ?

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training