mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
stubdom: only build libxen*.a from tools/libs/
Avoid generating *.map files or running headers.chk when all we need is the libxen*.a. Also, allow force make to check again if libxen*.a needs rebuilt by adding a '.PHONY' prerequisite. Also, remove DESTDIR= as we don't do installation in this target, so the value of DESTDIR doesn't matter. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
1 parent
fc93c3ac4f
commit
b1e37d8402
1 file changed
+2
-2
+2
-2
@@ -354,8 +354,8 @@ define BUILD_lib
|
||||
.PHONY: libxen$(1) clean-libxen$(1)
|
||||
libxen$(1): libs-$$(XEN_TARGET_ARCH)/$(1)/libxen$(1).a
|
||||
libs-$$(XEN_TARGET_ARCH)/$(1)/libxen$(1).a: $$(LIBDEPS_$(1)) $$(LIBDEP_$(1))
|
||||
libs-$$(XEN_TARGET_ARCH)/$(1)/libxen$(1).a: mk-headers-$$(XEN_TARGET_ARCH) $$(NEWLIB_STAMPFILE)
|
||||
CPPFLAGS="$$(TARGET_CPPFLAGS)" CFLAGS="$$(TARGET_CFLAGS)" $$(MAKE) DESTDIR= CONFIG_LIBXC_MINIOS=y -C libs-$$(XEN_TARGET_ARCH)/$(1)
|
||||
libs-$$(XEN_TARGET_ARCH)/$(1)/libxen$(1).a: mk-headers-$$(XEN_TARGET_ARCH) $$(NEWLIB_STAMPFILE) .phony
|
||||
CPPFLAGS="$$(TARGET_CPPFLAGS)" CFLAGS="$$(TARGET_CFLAGS)" $$(MAKE) CONFIG_LIBXC_MINIOS=y -C $$(@D) $$(@F)
|
||||
|
||||
clean-libxen$(1):
|
||||
[ ! -e libs-$$(XEN_TARGET_ARCH)/$(1)/Makefile ] || $$(MAKE) DESTDIR= -C libs-$$(XEN_TARGET_ARCH)/$(1) clean
|
||||
|
||||