diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -121,7 +121,8 @@ all: $(BUILDVER) $(LIBTONEZONE_SO) manpages linux24: $(MODULESO) $(BINS) linux26: prereq $(BINS) - @if ! [ -d $(KSRC) ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi + @echo $(KSRC) + @if [ -z "$(KSRC)" -o ! -d $(KSRC) ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules obj-m := $(MODULESO) |