配置Linux内核时出现问题(Trouble Configuring Linux Kernel)

我试图重新编译Linux内核,但在我这样做之前,我需要配置它。 我使用以下命令尝试执行此操作:

make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- gconfig

其中arm-xilinx-linux-gnueabi-是我正在使用的gcc版本的前缀。 不幸的是,这不是弹出配置窗口,而是给我一条消息:

make: *** No rule to make target `gconfig'. Stop.

有谁知道问题是什么?

I am trying to recompile the Linux kernel, but before I do this, I need to configure it. I use the following command to try to do this:

make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- gconfig

where arm-xilinx-linux-gnueabi- is the prefix of the version of gcc I'm using. Unfortunately, instead of popping up the configuration window, this gives me the message:

make: *** No rule to make target `gconfig'. Stop.

Does anyone know what the problem is?

最满意答案

有没有make xconfig , make gconfig和make menuconfig工作?

我猜你不在正确的内核目录中。

请再读一遍: HOWTO编译linux内核

Is anyone of make xconfig, make gconfig and make menuconfig working?

I guess you aren't on the right kernel directory.

Please read this again: HOWTO compile linux kernel

配置Linux内核时出现问题(Trouble Configuring Linux Kernel)

我试图重新编译Linux内核,但在我这样做之前,我需要配置它。 我使用以下命令尝试执行此操作:

make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- gconfig

其中arm-xilinx-linux-gnueabi-是我正在使用的gcc版本的前缀。 不幸的是,这不是弹出配置窗口,而是给我一条消息:

make: *** No rule to make target `gconfig'. Stop.

有谁知道问题是什么?

I am trying to recompile the Linux kernel, but before I do this, I need to configure it. I use the following command to try to do this:

make ARCH=arm CROSS_COMPILE=arm-xilinx-linux-gnueabi- gconfig

where arm-xilinx-linux-gnueabi- is the prefix of the version of gcc I'm using. Unfortunately, instead of popping up the configuration window, this gives me the message:

make: *** No rule to make target `gconfig'. Stop.

Does anyone know what the problem is?

最满意答案

有没有make xconfig , make gconfig和make menuconfig工作?

我猜你不在正确的内核目录中。

请再读一遍: HOWTO编译linux内核

Is anyone of make xconfig, make gconfig and make menuconfig working?

I guess you aren't on the right kernel directory.

Please read this again: HOWTO compile linux kernel