Skip to content

Commit

Permalink
hypervisor: Fix cleaning of generated files for latest kernels
Browse files Browse the repository at this point in the history
Recent kernels seem to add their own prefix to clean-files, thus won't
remove our files as the paths gets wrong. We can simply remove $(obj),
that works both for current and older kernels.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
jan-kiszka committed Mar 20, 2015
1 parent 037744d commit eb788af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hypervisor/Makefile
Expand Up @@ -55,8 +55,8 @@ define filechk_version
$(src)/../scripts/gen_version_h $(src)/..
endef

clean-files := $(obj)/include/jailhouse/config.mk \
$(obj)/include/jailhouse/version.h
clean-files := include/jailhouse/config.mk \
include/jailhouse/version.h

define sed-y
"/^=>/{s:=>#\(.*\):/* \1 */:; \
Expand Down

0 comments on commit eb788af

Please sign in to comment.