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

Question: Recompiling kernel #46

Open
conqerAtapple opened this issue Jun 28, 2013 · 5 comments
Open

Question: Recompiling kernel #46

conqerAtapple opened this issue Jun 28, 2013 · 5 comments

Comments

@conqerAtapple
Copy link

Hi
If i have to do some changes to the kernel and rebuild it, how do I do that with the sdk? The usual pattern is

  1. cd to teh kernel source tree
  2. make menuconfig
  3. set cross compiler, arch
  4. make
    5 make initrd

In the case of SDK, how do i go about it?

thanks in advance

@ghost
Copy link

ghost commented Jun 28, 2013

How does:

make linux-config
make

work for you?

@conqerAtapple
Copy link
Author

i assume this should be done from $BSQUASK_DIR/build/linux-custom directory?

@ghost
Copy link

ghost commented Jun 28, 2013

No, just from the buildroot base directory.

make help will show some hints.
On Jun 28, 2013 11:36 PM, "Jojy George Varghese" [email protected]
wrote:

i assume this should be done from $BSQUASK_DIR/build/linux-custom
directory?


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-20215848
.

@conqerAtapple
Copy link
Author

I couldnt find any linux-config when i did make help. One option could be to "make" from $BSQUASK_DIR/images/linux-custom. But i am not sure if thats the right way.

@ghost
Copy link

ghost commented Jun 29, 2013

In your bsquask directory you can run make help to get some information about the build options.
You can use make menuconfig to select packages and several options for the target image.

When you run make linux-menuconfig you can configure the kernel. Of course that kernel config should match the filename entered in make menuconfig (kernel -> configuration file path).

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

1 participant