| |
| include $(COMMON_BASE_MK) |
| |
| NAME=e2fsprogs |
| SRC_DIR=e2fsprogs-1.42.9 |
| INSTALL_DIR=$(APP_DIR)/$(NAME)/install |
| BUILD_DIR=build |
| GEN_MAKEFILE=$(BUILD_DIR)/Makefile |
| |
| CONFIG_OPTS = --host=arm-linux |
| #CONFIG_OPTS += --with-sysroot=$(CROSS_COMPILE_SYSROOT) |
| CONFIG_OPTS += --disable-tls |
| CONFIG_OPTS += --disable-uuidd |
| #CONFIG_OPTS += --disable-libuuid |
| CONFIG_OPTS += --disable-mmp |
| CONFIG_OPTS += --disable-tdb |
| CONFIG_OPTS += --disable-bmap-stats |
| CONFIG_OPTS += --disable-nls |
| CONFIG_OPTS += --disable-rpath |
| CONFIG_OPTS += --disable-fuse2fs |
| CONFIG_OPTS += --disable-defrag |
| CONFIG_OPTS += --disable-debugfs |
| CONFIG_OPTS += --disable-e2initrd-helper |
| CONFIG_OPTS += --disable-fsck |
| #CONFIG_OPTS += --disable-libblkid |
| CONFIG_OPTS += --disable-testio-debug |
| |
| |
| #LDFLAGS += -ldl |
| |
| all: $(GEN_MAKEFILE) |
| make -C build all |
| make -C build install |
| |
| $(GEN_MAKEFILE): |
| mkdir -p $(BUILD_DIR) |
| cd $(BUILD_DIR); ../$(SRC_DIR)/configure --prefix=$(INSTALL_DIR) $(CONFIG_OPTS) |
| |
| clean: |
| -rm -fr $(BUILD_DIR) $(INSTALL_DIR) |
| |
| romfs: |
| $(ROMFSINST) $(INSTALL_DIR)/sbin/mkfs.ext4 /sbin/mkfs.ext4 |
| $(ROMFSINST) $(INSTALL_DIR)/etc/mke2fs.conf /etc/mke2fs.conf |
| |