]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Fix bug in clean target
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Nov 2013 05:31:28 +0000 (06:31 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 13 Nov 2013 05:31:28 +0000 (06:31 +0100)
snippets/linux-kernel.omk
tests/Makefile
tests/clean [new file with mode: 0755]

index 0c733bc393a333e779fa53760a0ac2fb6b769ef4..28efb98fe3066d9f134aa7e51dda4c37dd25ea4b 100644 (file)
@@ -375,7 +375,7 @@ clean-local::
               $(KERN_OBJS_DIR)/*.map \
               $(KERN_OBJS_DIR)/*.mod.c \
               $(kernel_MODULES:%=$(KERN_MODPOST_DIR)/%.*) \
-              $(LOCAL_CONFIG_H:%=$(KERN_OBJS_DIR)/%) \
+              $(LOCAL_CONFIG_H:%=$(KERN_OBJS_DIR)/%)
        @if [ -e $(KERN_LIB_DIR)/kernel.mk ] ; then \
            touch -t 200001010101 $(KERN_LIB_DIR)/kernel.mk ; \
        fi
index 0f2753659f26b7720e350852a08b5d67d9ea010f..495e0d182eb332e1349c0dbecf93346477aa77da 100644 (file)
@@ -1,5 +1,5 @@
 wvtest_SCRIPTS = get_var.sh bin_scripts.sh all_omk_subdirs-recurs-expanded \
-all_omk_subdirs-simply-expanded automatic_subdirs cmetric              \
+all_omk_subdirs-simply-expanded automatic_subdirs clean cmetric                \
 default-config extra_rules_subdirs header-files headers-generated      \
 headers-generated-default-cflags headers-nonexisting hooks             \
 idl ignore_errors includes invocation_dir libraries no-print-directory \
diff --git a/tests/clean b/tests/clean
new file mode 100755 (executable)
index 0000000..6a6eb06
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+. ./wvtest.sh
+
+touch Makefile.omk
+WVPASS make clean