Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARCH=arm? #34

Closed
sorganov opened this issue Feb 22, 2019 · 1 comment
Closed

ARCH=arm? #34

sorganov opened this issue Feb 22, 2019 · 1 comment

Comments

@sorganov
Copy link

Hello!

Regarding the

umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-for-your-ARM-device

I wonder how does it work without ever specifying ARCH=arm in any make invocation, or ever mentioning it at all?

I doubt the tutorial expects the kernel is being built on some ARM host, so the host is likely x86, and we are building cross.

In this case, in particular, the recipe:

cd linux
make <default_config>
less .config

will try to find <devault_config> in arch/x86 rather than in arch/arm, and should fail.

If ARCH=arm should be set in the environment, it should better be explicitly stated in the tutorial, I think.

What do I miss?

@umiddelb
Copy link
Owner

Hi,

thank you for your remark. There are some words in the introduction, mentioning that this tutorial addresses a native build:

"Recent ARM devices have become quite powerful, so I prefer to compile the kernel on the target device directly instead of cross compiling (which adds some extra level of complexity)."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants