diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-06 16:21:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-06 16:21:57 -0400 |
commit | 15700770ef7c5d12e2f1659d2ddbeb3f658d9f37 (patch) | |
tree | 7fa2f81c33c9efcb1a1568385beead75c5892cfb /scripts/Makefile.host | |
parent | 6de410c2b0cc055ae9ee640c84331f6a70878d9b (diff) | |
parent | 11de39e2fbbc592018e0a231d0ee773653dcc8d6 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (38 commits)
kconfig: fix mconf segmentation fault
kbuild: enable use of code from a different dir
kconfig: error out if recursive dependencies are found
kbuild: scripts/basic/fixdep segfault on pathological string-o-death
kconfig: correct minor typo in Kconfig warning message.
kconfig: fix path to modules.txt in Kconfig help
usr/Kconfig: fix typo
kernel-doc: alphabetically-sorted entries in index.html of 'htmldocs'
kbuild: be more explicit on missing .config file
kbuild: clarify the creation of the LOCALVERSION_AUTO string.
kbuild: propagate errors from find in scripts/gen_initramfs_list.sh
kconfig: refer to qt3 if we cannot find qt libraries
kbuild: handle compressed cpio initramfs-es
kbuild: ignore section mismatch warning for references from .paravirtprobe to .init.text
kbuild: remove stale comment in modpost.c
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
kbuild: fix make mrproper for Documentation/DocBook/man
kbuild: remove kconfig binaries during make mrproper
kconfig/menuconfig: do not hardcode '.config'
kbuild: override build timestamp & version
...
Diffstat (limited to 'scripts/Makefile.host')
-rw-r--r-- | scripts/Makefile.host | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index 575afbe5e370..6943a7a5bb98 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host | |||
@@ -114,7 +114,7 @@ hostcxx_flags = -Wp,-MD,$(depfile) $(__hostcxx_flags) | |||
114 | quiet_cmd_host-csingle = HOSTCC $@ | 114 | quiet_cmd_host-csingle = HOSTCC $@ |
115 | cmd_host-csingle = $(HOSTCC) $(hostc_flags) -o $@ $< \ | 115 | cmd_host-csingle = $(HOSTCC) $(hostc_flags) -o $@ $< \ |
116 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 116 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
117 | $(host-csingle): %: %.c FORCE | 117 | $(host-csingle): $(obj)/%: $(src)/%.c FORCE |
118 | $(call if_changed_dep,host-csingle) | 118 | $(call if_changed_dep,host-csingle) |
119 | 119 | ||
120 | # Link an executable based on list of .o files, all plain c | 120 | # Link an executable based on list of .o files, all plain c |
@@ -123,14 +123,14 @@ quiet_cmd_host-cmulti = HOSTLD $@ | |||
123 | cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ | 123 | cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ |
124 | $(addprefix $(obj)/,$($(@F)-objs)) \ | 124 | $(addprefix $(obj)/,$($(@F)-objs)) \ |
125 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 125 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
126 | $(host-cmulti): %: $(host-cobjs) $(host-cshlib) FORCE | 126 | $(host-cmulti): $(obj)/%: $(host-cobjs) $(host-cshlib) FORCE |
127 | $(call if_changed,host-cmulti) | 127 | $(call if_changed,host-cmulti) |
128 | 128 | ||
129 | # Create .o file from a single .c file | 129 | # Create .o file from a single .c file |
130 | # host-cobjs -> .o | 130 | # host-cobjs -> .o |
131 | quiet_cmd_host-cobjs = HOSTCC $@ | 131 | quiet_cmd_host-cobjs = HOSTCC $@ |
132 | cmd_host-cobjs = $(HOSTCC) $(hostc_flags) -c -o $@ $< | 132 | cmd_host-cobjs = $(HOSTCC) $(hostc_flags) -c -o $@ $< |
133 | $(host-cobjs): %.o: %.c FORCE | 133 | $(host-cobjs): $(obj)/%.o: $(src)/%.c FORCE |
134 | $(call if_changed_dep,host-cobjs) | 134 | $(call if_changed_dep,host-cobjs) |
135 | 135 | ||
136 | # Link an executable based on list of .o files, a mixture of .c and .cc | 136 | # Link an executable based on list of .o files, a mixture of .c and .cc |
@@ -140,20 +140,20 @@ quiet_cmd_host-cxxmulti = HOSTLD $@ | |||
140 | $(foreach o,objs cxxobjs,\ | 140 | $(foreach o,objs cxxobjs,\ |
141 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ | 141 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ |
142 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 142 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
143 | $(host-cxxmulti): %: $(host-cobjs) $(host-cxxobjs) $(host-cshlib) FORCE | 143 | $(host-cxxmulti): $(obj)/%: $(host-cobjs) $(host-cxxobjs) $(host-cshlib) FORCE |
144 | $(call if_changed,host-cxxmulti) | 144 | $(call if_changed,host-cxxmulti) |
145 | 145 | ||
146 | # Create .o file from a single .cc (C++) file | 146 | # Create .o file from a single .cc (C++) file |
147 | quiet_cmd_host-cxxobjs = HOSTCXX $@ | 147 | quiet_cmd_host-cxxobjs = HOSTCXX $@ |
148 | cmd_host-cxxobjs = $(HOSTCXX) $(hostcxx_flags) -c -o $@ $< | 148 | cmd_host-cxxobjs = $(HOSTCXX) $(hostcxx_flags) -c -o $@ $< |
149 | $(host-cxxobjs): %.o: %.cc FORCE | 149 | $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE |
150 | $(call if_changed_dep,host-cxxobjs) | 150 | $(call if_changed_dep,host-cxxobjs) |
151 | 151 | ||
152 | # Compile .c file, create position independent .o file | 152 | # Compile .c file, create position independent .o file |
153 | # host-cshobjs -> .o | 153 | # host-cshobjs -> .o |
154 | quiet_cmd_host-cshobjs = HOSTCC -fPIC $@ | 154 | quiet_cmd_host-cshobjs = HOSTCC -fPIC $@ |
155 | cmd_host-cshobjs = $(HOSTCC) $(hostc_flags) -fPIC -c -o $@ $< | 155 | cmd_host-cshobjs = $(HOSTCC) $(hostc_flags) -fPIC -c -o $@ $< |
156 | $(host-cshobjs): %.o: %.c FORCE | 156 | $(host-cshobjs): $(obj)/%.o: $(src)/%.c FORCE |
157 | $(call if_changed_dep,host-cshobjs) | 157 | $(call if_changed_dep,host-cshobjs) |
158 | 158 | ||
159 | # Link a shared library, based on position independent .o files | 159 | # Link a shared library, based on position independent .o files |
@@ -162,7 +162,7 @@ quiet_cmd_host-cshlib = HOSTLLD -shared $@ | |||
162 | cmd_host-cshlib = $(HOSTCC) $(HOSTLDFLAGS) -shared -o $@ \ | 162 | cmd_host-cshlib = $(HOSTCC) $(HOSTLDFLAGS) -shared -o $@ \ |
163 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ | 163 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ |
164 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 164 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
165 | $(host-cshlib): %: $(host-cshobjs) FORCE | 165 | $(host-cshlib): $(obj)/%: $(host-cshobjs) FORCE |
166 | $(call if_changed,host-cshlib) | 166 | $(call if_changed,host-cshlib) |
167 | 167 | ||
168 | targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ | 168 | targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ |