Index: Makefile =================================================================== --- Makefile (revision 1245) +++ Makefile (working copy) @@ -180,15 +180,15 @@ all: menuselect.makeopts @$(MAKE) _all -_all: modules $(LIBTONEZONE_SO) +_all: $(if $(MODULES),modules) programs $(LIBTONEZONE_SO) programs: $(BINS) modules: $(BUILDVER) -linux24: prereq vpm450m_fw.h $(MODULESO) $(BINS) +linux24: prereq vpm450m_fw.h $(MODULESO) -linux26: prereq vpm450m_fw.h $(BINS) +linux26: prereq vpm450m_fw.h @if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi $(KMAKE) modules