X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Kbuild;h=2114113ceca2801770c57ac07c78fff2b0b8a477;hb=4b55eb5c99dd5c26ff381752e72426393c85aaec;hp=e3737ad72b5a7ab8ad916b5b6b2725eaf89122a1;hpb=44a7c5a23db0c91d8e78ea7aec63b5d7341ad3c5;p=firefly-linux-kernel-4.4.55.git diff --git a/Kbuild b/Kbuild index e3737ad72b5a..2114113ceca2 100644 --- a/Kbuild +++ b/Kbuild @@ -53,6 +53,7 @@ targets += arch/$(SRCARCH)/kernel/asm-offsets.s # Default sed regexp - multiline due to syntax constraints define sed-y "/^->/{s:->#\(.*\):/* \1 */:; \ + s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \ s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ s:->::; p;}" endef @@ -94,5 +95,5 @@ PHONY += missing-syscalls missing-syscalls: scripts/checksyscalls.sh FORCE $(call cmd,syscalls) -# Delete all targets during make clean -clean-files := $(addprefix $(objtree)/,$(filter-out $(bounds-file) $(offsets-file),$(targets))) +# Keep these two files during make clean +no-clean-files := $(bounds-file) $(offsets-file)