summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -165,33 +165,33 @@ else
install:
@echo "Please use KERNELSRC=<path/to/linux-kernel> to install"
endif
ruby: .ruby libkconfig.so .ruby/kconfig.so
.ruby:
mkdir .ruby
.ruby/kconfig_wrap.c: kconfig.i kconfig_load.c expr.h lkc_proto.h
swig -ruby -o $@ $<
.ruby/Makefile: extconf.rb
cd .ruby; ruby ../extconf.rb
.ruby/kconfig.so: .ruby/kconfig_wrap.c .ruby/Makefile
- make -C .ruby
+ $(MAKE) -C .ruby
PYTHON_INCLUDE=$(shell python -c "import sys; print '-I'+sys.prefix+'/include/python'+sys.version[:3]")
python: .python .python/kconfig.py .python/_kconfig.so
.python:
mkdir .python
.python/kconfig_wrap.c .python/kconfig.py: kconfig.i kconfig_load.c expr.h lkc_proto.h
swig -python -o .python/kconfig_wrap.c kconfig.i
.python/_kconfig.so: .python/kconfig_wrap.c
cd .python; $(CC) $(CFLAGS) -shared kconfig_wrap.c -o _kconfig.so -I.. $(PYTHON_INCLUDE)