make it compile

This commit is contained in:
Eric Andersen 2005-02-12 00:26:27 +00:00
parent d2b724eb7c
commit e7dd14f373

View File

@ -3,7 +3,7 @@
# e2fsprogs # e2fsprogs
# #
############################################################# #############################################################
E2FSPROGS_VER:=1.36 E2FSPROGS_VER:=1.35
E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VER).tar.gz E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VER).tar.gz
E2FSPROGS_SITE=http://telia.dl.sourceforge.net/sourceforge/e2fsprogs E2FSPROGS_SITE=http://telia.dl.sourceforge.net/sourceforge/e2fsprogs
E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VER) E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VER)
@ -42,17 +42,18 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
--infodir=/usr/info \ --infodir=/usr/info \
--disable-elf-shlibs --disable-swapfs \ --disable-elf-shlibs --disable-swapfs \
--disable-debugfs --disable-imager \ --disable-debugfs --disable-imager \
--disable-resizer --without-catgets $(DISABLE_NLS) \ --disable-resizer --enable-fsck \
--without-catgets $(DISABLE_NLS) \
); );
touch $(E2FSPROGS_DIR)/.configured touch $(E2FSPROGS_DIR)/.configured
$(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) $(MAKE1) PATH=$(TARGET_PATH) -C $(E2FSPROGS_DIR)
-$(STRIP) $(E2FSPROGS_DIR)/misc/* -$(STRIP) $(E2FSPROGS_DIR)/misc/*
touch -c $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY) touch -c $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY) $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) install $(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) -C $(E2FSPROGS_DIR) install
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \ rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
touch -c $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY) touch -c $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
@ -60,8 +61,8 @@ $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
e2fsprogs: uclibc $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY) e2fsprogs: uclibc $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
e2fsprogs-clean: e2fsprogs-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) uninstall $(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) uninstall
-$(MAKE) -C $(E2FSPROGS_DIR) clean -$(MAKE1) -C $(E2FSPROGS_DIR) clean
e2fsprogs-dirclean: e2fsprogs-dirclean:
rm -rf $(E2FSPROGS_DIR) rm -rf $(E2FSPROGS_DIR)