Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /testcases/kernel/firmware/fw_load_kernel/Makefile [427cbb] .. [858757] Maximize Restore

  Switch to side-by-side view

--- a/testcases/kernel/firmware/fw_load_kernel/Makefile
+++ b/testcases/kernel/firmware/fw_load_kernel/Makefile
@@ -25,18 +25,11 @@
 top_srcdir	?= ../../../..
 include $(top_srcdir)/include/mk/env_pre.mk
 
+REQ_VERSION_MAJOR   := 3
+REQ_VERSION_PATCH   := 7
 MAKE_TARGETS	:= ltp_fw_load.ko
 
-# Ignoring the exit status of commands is done to be forward compatible with
-# kernel internal API changes. The user-space test will return TCONF, if it
-# doesn't find the module (i.e. it wasn't built either due to kernel-devel
-# missing or module build failure).
-ltp_fw_load.ko: ltp_fw_load.c
-	-$(MAKE) -C $(LINUX_DIR) M=$(abs_srcdir)
-	-mv ltp_fw_load.ko ltp_fw_load.ko~
-	-$(MAKE) -C $(LINUX_DIR) M=$(abs_srcdir) clean
-	-mv ltp_fw_load.ko~ ltp_fw_load.ko
-
+include $(top_srcdir)/include/mk/module.mk
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
 
 endif