- Timestamp:
- Jul 16, 2006, 8:39:14 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 8c028e7
- Parents:
- efcdba6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rules.mk
refcdba6 r1e977a4 1 # $FreeWRT$ 2 1 3 include $(TOPDIR)/lbin/prereq.mk 2 4 include $(TOPDIR)/.config … … 54 56 55 57 ifeq ($(BR2_TAR_VERBOSITY),y) 56 TAR_OPTIONS= -xvf58 TAR_OPTIONS= -xvf 57 59 else 58 TAR_OPTIONS= -xf60 TAR_OPTIONS= -xf 59 61 endif 60 61 #ifeq ($(shell which pax 2>/dev/null),) 62 TAR_EXTRACT= $(TOPDIR)/lbin/tar $(TAR_OPTIONS) - 63 #else 64 #TAR_EXTRACT= pax -r -pma 65 #endif 62 TAR_EXTRACT= ${TOPDIR}/lbin/tar ${TAR_OPTIONS} - 66 63 67 64 TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) … … 139 136 for file in ${DISTFILES}; do \ 140 137 case $$file in \ 141 *. zip) unzip $$file ;;\142 *.cpio)cpio -mid <$$file ;; \143 *. tar) tar -xf $$file ;;\144 *.cpio.Z | *.cpio.gz | *.cgz | *.mcz) \138 *.cpio | *.tar) \ 139 cpio -mid <$$file ;; \ 140 *.cpio.Z | *.cpio.gz | *.cgz | *.mcz | \ 141 *.tar.Z | *.tar.gz | *.taz | *.tgz) \ 145 142 gzip -dc $$file | cpio -mid ;; \ 146 *.tar.Z | *.tar.gz | *.taz | *.tgz) \ 147 gzip -dc $$file | tar -xf - ;; \ 148 *.cpio.bz2 | *.cbz) \ 143 *.cpio.bz2 | *.cbz | *.tar.bz2 | *.tbz) \ 149 144 bzip2 -dc $$file | cpio -mid ;; \ 150 *. tar.bz2 | *.tbz) \151 bzip2 -dc $$file | tar -xf -;; \145 *.zip) \ 146 unzip $$file ;; \ 152 147 esac; \ 153 148 done
Note:
See TracChangeset
for help on using the changeset viewer.
