From: Michal Sojka Date: Wed, 13 Nov 2013 05:31:28 +0000 (+0100) Subject: Fix bug in clean target X-Git-Url: https://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/2cff02846a38aec75ea48b171e17cae8d2c78058?ds=sidebyside Fix bug in clean target --- diff --git a/snippets/linux-kernel.omk b/snippets/linux-kernel.omk index 0c733bc..28efb98 100644 --- a/snippets/linux-kernel.omk +++ b/snippets/linux-kernel.omk @@ -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 diff --git a/tests/Makefile b/tests/Makefile index 0f27536..495e0d1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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 index 0000000..6a6eb06 --- /dev/null +++ b/tests/clean @@ -0,0 +1,6 @@ +#!/bin/bash + +. ./wvtest.sh + +touch Makefile.omk +WVPASS make clean