mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
CentOS 5.x forked e2fs ext4 support into a different package called e4fs, and so headers and library names changed from ext2fs to ext4fs. Check if ext4fs/ext2fs.h and -lext4fs work, and use that instead of ext2fs to build libfsimage. This patch assumes that if the ext4fs library is present it should always be used instead of ext2fs. This patch includes a rework of the ext2fs check, a new ext4fs check and a minor modification in libfsimage to use the correct library. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
17 lines
322 B
Makefile
17 lines
322 B
Makefile
XEN_ROOT = $(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
|
|
SUBDIRS-$(CONFIG_X86) += xfs
|
|
ifneq ($(EXTFS_LIBS), )
|
|
SUBDIRS-y += ext2fs-lib
|
|
else
|
|
SUBDIRS-y += ext2fs
|
|
endif
|
|
|
|
.PHONY: all clean install
|
|
all clean install: %: subdirs-%
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|