Jump to content

The path '${kernelw_ork-dir}' actually exists, but why does it appear 'Cannon stat: No such file or directory' during compilation???


Recommended Posts

Posted

d1324836bceda05419257dde1e6533a.png.3a82e31be4320f0afad459b00d6203ec.png

 

 

The path '${kernelw_ork-dir}' actually exists, but why does it appear 'Cannon stat: No such file or directory' during compilation???

 

What are the configurations?

 

For the convenience of personal development, I forced the use of my kernel source code git address.

 

Please support me, thank you!!!

 

Posted

I think he want to pass URL to his kernel GIT source. Which I also don't know from head but was asked before here. I think something like:

 

./compile.sh kernel KERNELSOURCE=git KERNELBRANCH=main

Posted

It's like this, For the sake of convenience and speed, I forced the following parameters to adapt to my entire kernel:
declare -g KERNELSOURCE=
eclare -g KERNELBRANCH=
declare -g KERNELPATCHDIR="john"

 

However, the compilation encountered an error at the position shown in the figure above:

cd  "${kernel_work_dir}" || exit 2    //immediate exit2.

 

Also, I found that after pulling down my kernel code,
git branch -a 

 

* (HEAD detached at 262f4fa9118f)
  kernel-rockchip64-6.6
  linux-4.19.y
  linux-4.4.y
  linux-4.9.y
  linux-5.10.y
  linux-5.15.y
  linux-5.4.y
  linux-6.1.y
  linux-6.10.y
  linux-6.6.y
  linux-6.9.y
+ master
 

There is no automatic branch creation locally, separating the head.

 

What should I do to solve this error???

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines