X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=Makefile;h=435dcfdab3cb60408c8a8000cb2a2534297c7769;hb=9ceba67f6d400f2be97f92bd1c55f90802672f44;hp=2b55d4881d2f954d7a447c24d6447df086c4200d;hpb=5181906db364b03c9d50681e67950fa18a05359d;p=jme.git diff --git a/Makefile b/Makefile index 2b55d48..435dcfd 100644 --- a/Makefile +++ b/Makefile @@ -36,13 +36,15 @@ namespacecheck: modules install: modules install -m 644 $(MODNAME).ko $(MINSTDIR) - depmod $(KVER) $(MINSTDIR)/$(MODNAME).ko + depmod -a $(KVER) patch: @/usr/bin/diff -uar -X dontdiff ../../trunc ./ > bc.patch || echo > /dev/null buildtest: SRCDIRS=`find ~/linux-src -mindepth 1 -maxdepth 1 -type d -name 'linux-*' | sort -r -n`; \ + SRCDIRS="$${SRCDIRS} `find ~/linux-src/centos -mindepth 2 -maxdepth 2 -type d -name 'linux-*' | sort -r -n`"; \ + SRCDIRS="$${SRCDIRS} `find ~/linux-src/fedora -mindepth 2 -maxdepth 2 -type d -name 'linux-*' | sort -r -n`"; \ for d in $${SRCDIRS}; do \ $(MAKE) clean && $(MAKE) -C . KSRC=$${d} modules; \ if [ $$? != 0 ]; then \