View Single Post
  #149 (permalink)  
Old 04-07-2011, 10:31 AM
oisact's Avatar
oisact
PPCGeeks Regular
Offline
 
Join Date: Jan 2011
Posts: 52
Reputation: 40
oisact is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

I'm using the following script to automatically generate the proper module tarball name so I don't have to rename it manually:

Code:
# Generate module name. Assumes lib/modules contains one subdir with the target name
cd $MODULES_PATH/lib/modules
MODNAME=$(ls -d */)
MODNAME=modules-${MODNAME%/}.tar.gz
Just thought you might want to incorporate it in your build script to save the manual work.
Reply With Quote