[uClinux-dev] make-3.82 *** mixed implicit and normal rules

2010-10-19 Thread Thomas Chou

Hi Mike,

I met lots of mixed implicit and normal rules errors after updating 
make to v3.82. These included uClinux-dist upstream and blackfin, 
busybox etc.


vendors/Makefile,

all image clean romfs romfs.post vendor_%:
$(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak $@


user/blkfin-apps/Makefile,

all %::
for i in $(dir_y) ; do $(MAKE) -C $$i $@ || exit $$? ; done

user/busybox/build-busybox-1.17.2/Makefile (generated),

$(filter-out all Makefile,$(MAKECMDGOALS)) %/:
$(MAKE) -C $(KERNELSRC) O=$(KERNELOUTPUT) $@


I googled this thread, which said the parser was tightened in make-3.82.

http://www.mail-archive.com/bug-m...@gnu.org/msg06220.html

Shall we update these Makefiles?

Best regards,
Thomas
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


[uClinux-dev] Re: [Uclinux-dist-devel] [PATCH] vendors/Makefile: make v3.82 fix

2010-10-19 Thread Mike Frysinger
i dont like this duplication of targets.  i committed this instead:
--- vendors/Makefile(revision 9856)
+++ vendors/Makefile(working copy)
@@ -25,8 +25,9 @@ dir_v := $(VEND)/$(CONFIG_VENDOR)/$(CONF
 
 # Note: the all and clean targets are not normally used,
 # since user/Makefile jumps directory to the product directory
-all image clean romfs romfs.post vendor_%:
-   $(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak $@
+MAKE_VENDOR = $(MAKE) -C $(dir_v) dir_v=$(dir_v) -f $(VEND)/vendors-common.mak 
$@
+all image clean romfs romfs.post: ; $(MAKE_VENDOR)
+vendor_%: ; $(MAKE_VENDOR)
 
 prune:
@for i in `ls -d */ | grep -v -e '$(CONFIG_VENDOR)' -e 'config' -e 
'Generic'`; do \
-mike
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


Re: [uClinux-dev] Get RT73 driver to work on 2.4 or try to move to 2.6? ARM7 from Nuvoton

2010-10-19 Thread David McCullough

Jivin Sima Baymani lays it down ...
 Time for a status report!
   
 Now I have support for usbfs in my kernel and I mounted /proc/bus/usb. Thanks 
 for that - I learned something new =)
 
 Since before I had activated USB verbose debug messages in the kernel 
 config - not sure if there are more places to activate USB debugging? I found 
 USB_SERIAL_DEBUG and USB_STORAGE_DEBUG but those don't really apply I guess.
 
 This is what appeared in the directory after I mounted it:
 
 /proc/bus/usb ls -l  

 dr-xr-xr-x  1 00   0  Jan 01 00:05 001

 -r--r--r--  1 00   0  Jan 01 00:05 devices

 -r--r--r--  1 00   0  Jan 01 00:05 drivers  
 /proc/bus/usb ls -l 001  

 -rw-r--r--  1 00  18  Jan 01 00:05 001

 -rw-r--r--  1 00  18  Jan 01 00:05 002 
 /proc/bus/usb cat drivers

  usbdevfs 

  hub  

  rt73 

  usb-storage   
 /proc/bus/usb cat devices

 T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2 

 B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0

 D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1  

 P:  Vendor= ProdID= Rev= 0.00 

 S:  Product=USB OHCI Root Hub 

 S:  SerialNumber=fff05000 

 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA

 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub 

 E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms 

 T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0 

 D:  Ver= 2.00 Cls=ef(unk. ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1  

 P:  Vendor=0c45 ProdID=62f1 Rev= 1.00 

 S:  Manufacturer=Sonix Technology Co., Ltd.   

 S:  Product=USB 2.0 Camera

 C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA

 I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(unk. ) Sub=01 Prot=00 Driver=(none)  

 E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=6ms   

 I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(unk. ) Sub=02 Prot=00 Driver=(none)  

 I:  If#= 1 Alt= 1 #EPs= 1 Cls=0e(unk. ) Sub=02 Prot=00 Driver=(none)  

 E:  Ad=81(I) Atr=05(Isoc) MxPS= 128 Ivl=1ms   

 I:  If#= 1 Alt= 2 #EPs= 1 Cls=0e(unk. ) Sub=02 Prot=00 Driver=(none)  

 E:  Ad=81(I) Atr=05(Isoc) MxPS= 256 Ivl=1ms   

 I:  If#= 1 Alt= 3 #EPs= 1 Cls=0e(unk. ) Sub=02 Prot=00 Driver=(none)  

 E:  Ad=81(I) Atr=05(Isoc) MxPS= 512 Ivl=1ms