Search Linux Wireless

Compat-Wireless with CROSS_COMPILE OPTION

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

 



Hi,

I have an embedded Cross Compiling environment on Fedora 9 - cross compiling an embedded
kernel for a TI DM355 Evaluation Board (running a TI Specific 2.6.32 kernel (for working with DSP)). 

I have successfully built the kernel and associated modules, and run all current demos. 
I decided I wanted to try a Wireless USB Dongle. There are NO drivers for this specific
USB Dongle (ath9k_htc). 

So, today, I got a stable version of compat-wireless-2.6 and tried to build the compatible driver,
It seems to build OK, but it is NOT installing correctly????

	Note:  compat-wireless tarball  un-tarred into compat-wireless-2012-05-10
      
Here are the steps I take to build / install 

1) Do a few exports - just to make sure there we get these in there

	EXPORT ARCH=arm
	EXPORT CROSS_COMPILE=/opt/armCodeSourcery/bin/arm-xxxx-

2) Perform Driver Select

	./scripts/driver-select ath9k_htc

3) Perform make

	(note: my 2.6.32 kernel directory is located <../git>)

	make ARCH=arm CROSS_COMPILE=/opt/armCodeSourcery/bin/arm-xxx- KLIB=../git  KLIB_BUILD ../git 


4) Perform install 

	make INSTALL_MOD_PATH=/home/morrisont/workdir/filesys2 ARCH=arm CROSS_COMPILE=/opt/armCodeSourcery/bin/arm-xxx- KLIB=../git  KLIB_BUILD ../git

	(note: I am assuming it will install in /home/morrisont/workdir/filesys2 ==> the NFS Root Directory)


The error is the following:

	FATAL: Could not open /lib/modules/2.6.25-14.fc9.i686/modules.dep.temp for writing: Permission denied
	make: *** [uninstall] Error 1

The directory it is attempting to modify(uninstall is on my host system root directory -NOTHING to doo with INSTALL_MOD_PATH

Inspecting the Makefile is quite confusing - can someone succinctly tell me what I am doing wrong?

Thanks in advance!

Tom Morrison
Tom.Morrison@xxxxxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux