Is this a kbuild system's BUG?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

as the prepare target said,

  prepare         - Set up for building external modules

it should setup a environment for external modules building, right?

I unpacked linux-2.6.28.tar.bz2 to /usr/src/linux-2.6.28/, copied a
good .config,
"make prepare" under it,

but if I use it to build an external module under $PWD/kernel, it complains,

$ env -i make -C /usr/src/linux-2.6.28/ M=$PWD/kernel
make: Entering directory `/usr/src/linux-2.6.28'

  WARNING: Symbol version dump /usr/src/linux-2.6.28/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-2.6.28'

it seems OK if I do a "make scritps/" in advance, so should we add scripts
depend to prepare?

-- 
Cheng Renquan, Shenzhen, China
Katharine Hepburn  - "Death will be a great relief. No more interviews."
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux