Changeset 1e977a4 in freewrt for rules.mk


Ignore:
Timestamp:
Jul 16, 2006, 8:39:14 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
8c028e7
Parents:
efcdba6
Message:

switch to paxmirabilis

ok wbx@

NB: not yet totally tested, but if anything breaks I'll fix it today/tonight

git-svn-id: svn://www.freewrt.org/trunk/freewrt@228 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rules.mk

    refcdba6 r1e977a4  
     1# $FreeWRT$
     2
    13include $(TOPDIR)/lbin/prereq.mk
    24include $(TOPDIR)/.config
     
    5456
    5557ifeq ($(BR2_TAR_VERBOSITY),y)
    56 TAR_OPTIONS=-xvf
     58TAR_OPTIONS=    -xvf
    5759else
    58 TAR_OPTIONS=-xf
     60TAR_OPTIONS=    -xf
    5961endif
    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
     62TAR_EXTRACT=    ${TOPDIR}/lbin/tar ${TAR_OPTIONS} -
    6663
    6764TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
     
    139136                for file in ${DISTFILES}; do \
    140137                        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) \
    145142                                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) \
    149144                                bzip2 -dc $$file | cpio -mid ;; \
    150                         *.tar.bz2 | *.tbz) \
    151                                 bzip2 -dc $$file | tar -xf - ;; \
     145                        *.zip) \
     146                                unzip $$file ;; \
    152147                        esac; \
    153148                done
Note: See TracChangeset for help on using the changeset viewer.