ia64/xen-unstable

view linux-2.6.11-xen-sparse/arch/xen/Makefile @ 4750:efa6730ad90e

bitkeeper revision 1.1159.258.112 (4277a730mvnFSFXrxJpVRNk8hjD4Vg)

[PATCH] Mkbuildtree little fix

Hi, here is a really small fix for mkbuildtree.

With my 'find' version [1], I get many of these warning when using mkbuildtree:

find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after it).
Please specify options before other arguments.

My patch just correct the ordering of the options, it should be
harmless, but I didn't test with other versions of find.

Regards

[1] find --version
GNU find version 4.2.20
Features enabled: D_TYPE O_NOFOLLOW(enabled)

xen-unstable-mkbuildtree-find-maxpath.patch:
author ydroneaud@mandriva.com[kaf24]
date Tue May 03 16:30:40 2005 +0000 (2005-05-03)
parents cff0d3baf599
children db5a30a327e6 5a28c8cd39a3
line source
1 #
2 # xen/Makefile
3 #
4 # This file is included by the global makefile so that you can add your own
5 # architecture-specific flags and dependencies. Remember to do have actions
6 # for "archclean" cleaning up for this architecture.
7 #
8 # This file is subject to the terms and conditions of the GNU General Public
9 # License. See the file "COPYING" in the main directory of this archive
10 # for more details.
11 #
12 # Copyright (C) 2004 by Christian Limpach
13 #
15 XENARCH := $(subst ",,$(CONFIG_XENARCH))
17 # pick up headers from include/asm-xen/asm in preference over include/asm
18 NOSTDINC_FLAGS = -nostdinc -iwithprefix include/asm-xen -Iinclude/asm-xen -iwithprefix include
20 # make uname return the processor arch
21 UTS_MACHINE := $(XENARCH)
23 core-y += arch/xen/kernel/
25 include/.asm-ignore: include/asm
26 @rm -f include/.asm-ignore
27 @mv include/asm include/.asm-ignore
28 @echo ' SYMLINK include/asm -> include/asm-$(XENARCH)'
29 $(Q)if [ ! -d include ]; then mkdir -p include; fi;
30 @ln -fsn asm-$(XENARCH) include/asm
32 include/asm-xen/asm:
33 @echo ' SYMLINK $@ -> include/asm-xen/asm-$(XENARCH)'
34 @ln -fsn asm-$(XENARCH) $@
36 arch/xen/arch:
37 @rm -f $@
38 @ln -fsn $(XENARCH) $@
40 prepare: include/.asm-ignore include/asm-xen/asm \
41 arch/xen/arch ;
43 all: vmlinuz
45 vmlinuz: vmlinux
46 $(Q)$(MAKE) $(build)=arch/xen/boot vmlinuz
48 XINSTALL_NAME ?= $(KERNELRELEASE)
49 install: vmlinuz
50 mkdir -p $(INSTALL_PATH)/boot
51 install -m0644 vmlinuz $(INSTALL_PATH)/boot/vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
52 install -m0644 vmlinux $(INSTALL_PATH)/boot/vmlinux-syms-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
53 install -m0664 .config $(INSTALL_PATH)/boot/config-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
54 install -m0664 System.map $(INSTALL_PATH)/boot/System.map-$(XINSTALL_NAME)$(INSTALL_SUFFIX)
55 mkdir -p $(INSTALL_PATH)/usr/include/xen/linux
56 install -m0644 include/asm-xen/linux-public/*.h $(INSTALL_PATH)/usr/include/xen/linux
58 archclean:
59 @if [ -e arch/xen/arch ]; then $(MAKE) $(clean)=arch/xen/arch; fi;
60 @rm -f arch/xen/arch include/.asm-ignore include/asm-xen/asm
61 @rm -f vmlinux-stripped vmlinuz
63 define archhelp
64 echo '* vmlinuz - Compressed kernel image'
65 echo ' install - Install kernel image and config file'
66 endef
68 ifneq ($(XENARCH),)
69 include $(srctree)/arch/xen/$(XENARCH)/Makefile
70 endif