blob: 846c0e6f1214cf0f1d45378581b71f159c21bb69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
export BASEDIR := $(shell pwd)
include Rules.mk
default: $(TARGET)
gzip -f -9 < $(TARGET) > $(TARGET).gz
install: $(TARGET)
gzip -f -9 < $(TARGET) > $(TARGET).gz
cp $(TARGET).gz ../../install/images/image
clean: delete-links
$(MAKE) -C tools clean
$(MAKE) -C common clean
$(MAKE) -C net clean
$(MAKE) -C drivers clean
$(MAKE) -C arch/$(ARCH) clean
rm -f *.o $(TARGET)* *~ core
$(TARGET): make-links
$(MAKE) -C tools
$(MAKE) -C common
$(MAKE) -C net
$(MAKE) -C drivers
$(MAKE) -C arch/$(ARCH)
make-links:
ln -sf xeno include/linux
ln -sf asm-$(ARCH) include/asm
delete-links:
rm -f include/linux include/asm
SUBDIRS =arch common drivers net
TAGS:
etags `find include/asm-$(ARCH) -name '*.h'`
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
find $(SUBDIRS) -name '*.[ch]' | xargs etags -a
|