Changeset 8
- Timestamp:
- 04/14/10 16:06:18 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r6 r8 223 223 include $(TOPDIR)/make.d/discover.rul 224 224 include $(TOPDIR)/make.d/dosfstools.rul 225 include $(TOPDIR)/make.d/e2fsprogs.rul226 225 include $(TOPDIR)/make.d/gzip.rul 227 226 include $(TOPDIR)/make.d/hfsutils.rul -
trunk/initrd_source/initrd.rul
r6 r8 74 74 # 75 75 include $(INITRD_DIR)/make.d/bc.rul 76 include $(INITRD_DIR)/make.d/e2fsprogs.rul 76 77 77 78 PHONY += build_dir … … 110 111 cd $(INITRD_BUILD_DIR)/dev && mknod -m 660 null c 1 3 111 112 cd $(INITRD_BUILD_DIR)/dev && mknod -m 660 zero c 1 5 113 114 install -m 755 --strip $(BC_BINARY) $(INITRD_BUILD_DIR)/bin/ 115 install -m 755 --strip $(MKE2FS_BINARY) $(INITRD_BUILD_DIR)/sbin/ 116 install -m 755 --strip $(TUNE2FS_BINARY) $(INITRD_BUILD_DIR)/sbin/ 117 112 118 touch $@ 113 119 … … 131 137 $(BITTORRENT_DIR).install \ 132 138 $(CX_FREEZE_BINARY) \ 133 $(BC_DIR).build 139 $(BC_DIR).build \ 140 $(MKE2FS_BINARY) \ 141 $(TUNE2FS_BINARY) 134 142 135 143 -
trunk/initrd_source/make.d/e2fsprogs.rul
r4 r8 2 2 # $Id: e2fsprogs.rul 4344 2007-11-24 16:40:35Z arighi $ 3 3 # 4 E2FSPROGS_VERSION := 1.4 0.24 E2FSPROGS_VERSION := 1.41.11 5 5 E2FSPROGS_DIR := e2fsprogs-$(E2FSPROGS_VERSION) 6 6 E2FSPROGS_TARBALL := e2fsprogs-$(E2FSPROGS_VERSION).tar.gz 7 E2FSPROGS_URL := http://download.systemimager.org/pub/e2fsprogs/$(E2FSPROGS_TARBALL) 8 E2FSPROGS_PATCH := $(PATCH_DIR)/e2fsprogs.patch 9 MKE2FS_BINARY := $(SRC_DIR)/$(E2FSPROGS_DIR)/misc/mke2fs 10 TUNE2FS_BINARY := $(SRC_DIR)/$(E2FSPROGS_DIR)/misc/tune2fs 7 #E2FSPROGS_URL := http://download.systemimager.org/pub/e2fsprogs/$(E2FSPROGS_TARBALL) 8 E2FSPROGS_URL := http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/$(E2FSPROGS_VERSION)/$(E2FSPROGS_TARBALL)?use_mirror=garr 11 9 12 ALL_SOURCE += $(SRC_DIR)/$(E2FSPROGS_TARBALL) 10 ## Disabled 11 #E2FSPROGS_PATCH := $(PATCH_DIR)/e2fsprogs.patch 12 13 MKE2FS_BINARY := $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR)/misc/mke2fs 14 TUNE2FS_BINARY := $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR)/misc/tune2fs 15 16 ALL_SOURCE += $(INITRD_SRC_DIR)/$(E2FSPROGS_TARBALL) 13 17 14 18 ifdef IS_PPC64 … … 21 25 e2fsprogs: $(TUNE2FS_BINARY) $(MKE2FS_BINARY) 22 26 23 $(TUNE2FS_BINARY) $(MKE2FS_BINARY): $( SRC_DIR)/$(E2FSPROGS_TARBALL)24 [ -d $( SRC_DIR)/$(E2FSPROGS_DIR) ] || ( cd $(SRC_DIR) && tar -xvzf $(E2FSPROGS_TARBALL) )25 chmod -R u+rw $( SRC_DIR)/$(E2FSPROGS_DIR)26 ( cd $( SRC_DIR)/$(E2FSPROGS_DIR) && chmod +x ./configure && ./configure $(E2FSPROGS_CONFIGURE) )27 $(MAKE) -j $(NCPUS) -C $( SRC_DIR)/$(E2FSPROGS_DIR)27 $(TUNE2FS_BINARY) $(MKE2FS_BINARY): $(INITRD_SRC_DIR)/$(E2FSPROGS_TARBALL) 28 [ -d $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR) ] || ( cd $(INITRD_SRC_DIR) && tar -xvzf $(E2FSPROGS_TARBALL) ) 29 chmod -R u+rw $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR) 30 ( cd $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR) && chmod +x ./configure && ./configure $(E2FSPROGS_CONFIGURE) ) 31 $(MAKE) -j $(NCPUS) -C $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR) 28 32 29 33 # download the e2fsprogs tarball 30 $( SRC_DIR)/$(E2FSPROGS_TARBALL):31 [ -d $( SRC_DIR) ] || mkdir -p $(SRC_DIR)32 $(GETSOURCE) $(E2FSPROGS_URL) $( SRC_DIR)34 $(INITRD_SRC_DIR)/$(E2FSPROGS_TARBALL): 35 [ -d $(INITRD_SRC_DIR) ] || mkdir -p $(INITRD_SRC_DIR) 36 $(GETSOURCE) $(E2FSPROGS_URL) $(INITRD_SRC_DIR) 33 37 34 38 PHONY += e2fsprogs_clean 35 39 e2fsprogs_clean: 36 rm -rf $( SRC_DIR)/$(E2FSPROGS_DIR)40 rm -rf $(INITRD_SRC_DIR)/$(E2FSPROGS_DIR)
Note: See TracChangeset
for help on using the changeset viewer.