2008-05-05 06:00:56 +04:00
|
|
|
obj := $(firstword $(obj) $(SUBDIRS) .)
|
2007-10-04 17:07:51 +04:00
|
|
|
TOP = $(obj)/..
|
|
|
|
|
|
|
|
obj-y := amrr/ onoe/ sample/ minstrel/
|
|
|
|
|
|
|
|
include $(TOP)/Makefile.inc
|
|
|
|
|
2008-05-23 07:49:25 +04:00
|
|
|
.PHONY: modules
|
2007-10-04 17:07:51 +04:00
|
|
|
modules:
|
|
|
|
ifdef LINUX24
|
|
|
|
for i in $(obj-y); do \
|
|
|
|
$(MAKE) -C $$i || exit 1; \
|
|
|
|
done
|
|
|
|
else
|
|
|
|
$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
|
|
|
|
endif
|
|
|
|
|
2008-05-23 07:49:25 +04:00
|
|
|
.PHONY: install
|
2007-10-04 17:07:51 +04:00
|
|
|
install:
|
|
|
|
for i in $(obj-y); do \
|
|
|
|
$(MAKE) -C $$i install || exit 1; \
|
|
|
|
done
|
|
|
|
|
2008-05-23 07:49:25 +04:00
|
|
|
.PHONY: clean
|
2007-10-04 17:07:51 +04:00
|
|
|
clean:
|
|
|
|
for i in $(obj-y); do \
|
|
|
|
$(MAKE) -C $$i clean; \
|
|
|
|
done
|
2008-06-04 16:25:31 +04:00
|
|
|
|
|
|
|
rm -f modules.order
|