[Prism54-devel] [Bug 105] Bug in Makefile -- Prism54-USB

bugzilla-daemon at mcgrof.com bugzilla-daemon at mcgrof.com
Tue Aug 10 00:43:46 UTC 2004


http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=105





------- Additional Comments From zvezda at utulsa.edu  2004-08-10 00:43 -------
(From update of attachment 12)
># $Id: Makefile,v 1.2 2004/06/15 08:17:56 msw Exp $
>
>ifeq ($(KERNELRELEASE),)
>KVER           := $(shell uname -r)
>KDIR           := /lib/modules/$(KVER)/build
>PWD            := $(shell pwd)
>KMINOR         := $(shell echo $(KVER) | cut -d'.' -f2)
>KOUT           := $(KDIR)
>
>.PHONY: modules clean
>
>modules:
>ifeq ($(KDIR),$(KOUT))
>	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $@
>else
>	mkdir -p $(PWD)/tmp
>	cp $(KOUT)/.config $(PWD)/tmp/
>	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) O=$(PWD)/tmp/ $@
>endif
>
>clean:
>	rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_*
>
>else
>CONFIG_PRISM54=m
>ifeq ($(PATCHLEVEL),4)
>include Makefile.k24
>endif # ifeq ($(PATCHLEVEL),4)
>ifeq ($(PATCHLEVEL),6)
>include $(PWD)/Makefile.k26
>endif # ifeq ($(PATCHLEVEL),6)
>endif # ifeq ($(KERNELRELEASE),)




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Prism54-devel mailing list