summaryrefslogtreecommitdiff
authorclem <clem>2004-10-14 17:34:14 (UTC)
committer clem <clem>2004-10-14 17:34:14 (UTC)
commitfbcb3efe673fc6c956cbdae7cf6fb83a637dfc5e (patch) (unidiff)
tree360d8b32fe0a6c8cebbb56159c3170a23db3820d
parentf91c6162ea0e12d2c618072a78467310dcb23077 (diff)
downloadopie-fbcb3efe673fc6c956cbdae7cf6fb83a637dfc5e.zip
opie-fbcb3efe673fc6c956cbdae7cf6fb83a637dfc5e.tar.gz
opie-fbcb3efe673fc6c956cbdae7cf6fb83a637dfc5e.tar.bz2
s/make/ even if it's not enough to enable distributing
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index b918300..6006a80 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -149,50 +149,50 @@ lex.%.c: %.l
149%.o: %.cc 149%.o: %.cc
150 $(CXX) $(CXXFLAGS) -c $< -o $@ 150 $(CXX) $(CXXFLAGS) -c $< -o $@
151 151
152ifdef KERNELSRC 152ifdef KERNELSRC
153install: $(INSTGEN) 153install: $(INSTGEN)
154 set -x; cp --remove-destination $(sort $(INST)) $(KERNELSRC)/scripts/kconfig; \ 154 set -x; cp --remove-destination $(sort $(INST)) $(KERNELSRC)/scripts/kconfig; \
155 for f in $(INSTGEN); do cp --remove-destination $$f $(KERNELSRC)/scripts/kconfig/$${f}_shipped; done; \ 155 for f in $(INSTGEN); do cp --remove-destination $$f $(KERNELSRC)/scripts/kconfig/$${f}_shipped; done; \
156 cp --remove-destination Makefile.kernel $(KERNELSRC)/scripts/kconfig/Makefile; \ 156 cp --remove-destination Makefile.kernel $(KERNELSRC)/scripts/kconfig/Makefile; \
157 cp --remove-destination lkc-language.txt $(KERNELSRC)/Documentation/kbuild/kconfig-language.txt 157 cp --remove-destination lkc-language.txt $(KERNELSRC)/Documentation/kbuild/kconfig-language.txt
158 158
159diff: $(INSTGEN) 159diff: $(INSTGEN)
160 for f in $(sort $(INST)); do diff -Nu $(KERNELSRC)/scripts/kconfig/$$f $$f; done; \ 160 for f in $(sort $(INST)); do diff -Nu $(KERNELSRC)/scripts/kconfig/$$f $$f; done; \
161 for f in $(INSTGEN); do diff -Nu $(KERNELSRC)/scripts/kconfig/$${f}_shipped $$f; done; \ 161 for f in $(INSTGEN); do diff -Nu $(KERNELSRC)/scripts/kconfig/$${f}_shipped $$f; done; \
162 diff -Nu $(KERNELSRC)/scripts/kconfig/Makefile Makefile.kernel; \ 162 diff -Nu $(KERNELSRC)/scripts/kconfig/Makefile Makefile.kernel; \
163 diff -Nu lkc-language.txt $(KERNELSRC)/Documentation/kbuild/kconfig-language.txt 163 diff -Nu lkc-language.txt $(KERNELSRC)/Documentation/kbuild/kconfig-language.txt
164else 164else
165install: 165install:
166 @echo "Please use KERNELSRC=<path/to/linux-kernel> to install" 166 @echo "Please use KERNELSRC=<path/to/linux-kernel> to install"
167endif 167endif
168 168
169ruby: .ruby libkconfig.so .ruby/kconfig.so 169ruby: .ruby libkconfig.so .ruby/kconfig.so
170 170
171.ruby: 171.ruby:
172 mkdir .ruby 172 mkdir .ruby
173 173
174.ruby/kconfig_wrap.c: kconfig.i kconfig_load.c expr.h lkc_proto.h 174.ruby/kconfig_wrap.c: kconfig.i kconfig_load.c expr.h lkc_proto.h
175 swig -ruby -o $@ $< 175 swig -ruby -o $@ $<
176 176
177.ruby/Makefile: extconf.rb 177.ruby/Makefile: extconf.rb
178 cd .ruby; ruby ../extconf.rb 178 cd .ruby; ruby ../extconf.rb
179 179
180.ruby/kconfig.so: .ruby/kconfig_wrap.c .ruby/Makefile 180.ruby/kconfig.so: .ruby/kconfig_wrap.c .ruby/Makefile
181 make -C .ruby 181 $(MAKE) -C .ruby
182 182
183 183
184PYTHON_INCLUDE=$(shell python -c "import sys; print '-I'+sys.prefix+'/include/python'+sys.version[:3]") 184PYTHON_INCLUDE=$(shell python -c "import sys; print '-I'+sys.prefix+'/include/python'+sys.version[:3]")
185 185
186python: .python .python/kconfig.py .python/_kconfig.so 186python: .python .python/kconfig.py .python/_kconfig.so
187 187
188.python: 188.python:
189 mkdir .python 189 mkdir .python
190 190
191.python/kconfig_wrap.c .python/kconfig.py: kconfig.i kconfig_load.c expr.h lkc_proto.h 191.python/kconfig_wrap.c .python/kconfig.py: kconfig.i kconfig_load.c expr.h lkc_proto.h
192 swig -python -o .python/kconfig_wrap.c kconfig.i 192 swig -python -o .python/kconfig_wrap.c kconfig.i
193 193
194.python/_kconfig.so: .python/kconfig_wrap.c 194.python/_kconfig.so: .python/kconfig_wrap.c
195 cd .python; $(CC) $(CFLAGS) -shared kconfig_wrap.c -o _kconfig.so -I.. $(PYTHON_INCLUDE) 195 cd .python; $(CC) $(CFLAGS) -shared kconfig_wrap.c -o _kconfig.so -I.. $(PYTHON_INCLUDE)
196 196
197 197
198.PHONY: all tgz clean ruby python 198.PHONY: all tgz clean ruby python