Home | History | Annotate | Download | only in module-playground
      1 ifeq ($(ARCH),)
      2     $(error ARCH must be set to a valid architecture)
      3 endif
      4 
      5 default:
      6 	@cmp --quiet mod-simple.c mod-simple-$(ARCH).c || (	\
      7 		ln -sf mod-simple.c mod-simple-$(ARCH).c;	\
      8 		/bin/false					\
      9 	)
     10 	$(MAKE) -C $(KDIR_$(ARCH)) CROSS_COMPILE=$(CROSS_COMPILE_$(ARCH)) M=$$PWD KMOD_TESTSUITE_ARCH_BUILD=1
     11 
     12 clean:
     13 	$(MAKE) -C $(KDIR_$(ARCH)) CROSS_COMPILE=$(CROSS_COMPILE_$(ARCH)) M=$$PWD KMOD_TESTSUITE_ARCH_BUILD=1  clean
     14 	rm -f mod-simple-$(ARCH).c
     15