Changeset aee909e in freewrt for package


Ignore:
Timestamp:
Jul 25, 2006, 3:09:10 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
86ea442
Parents:
24dce9d
Message:

allow automatic copy of a hierarchy rooted in extra/
into ${WRKSRC} (and prevent these from being included
in patches)

agreed wbx@ on the phone

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/rules.mk

    r24dce9d raee909e  
    6060        rm -rf ${WRKSRC} ${WRKBUILD}
    6161        ${EXTRACT_CMD}
    62         [ ! -d ./patches ] || $(PATCH) $(WRKSRC) ./patches
     62        [ ! -d ./patches ] || $(PREVENT_PATCH) $(PATCH) $(WRKSRC) ./patches
     63        [ ! -d ./extra ] || (cd extra; $(PREVENT_PATCH) pax -rw . ${WRKSRC}/)
    6364        touch $(WRKBUILD)/.prepared
    6465endif
     
    104105        @test ! -d ${WRKDIR}.orig || rm -rf ${WRKDIR}.orig
    105106        @test ! -d ${WRKDIR}.orig
    106         @$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PATCH=:
    107         @toedit=$$(WRKDIST='${WRKSRC}' PATCHDIR=$$(pwd)/patches \
     107        @$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PREVENT_PATCH=:
     108        @toedit=$$(WRKDIST='${WRKSRC}' CURDIR=$$(pwd) \
    108109            PATCH_LIST='patch-* *.patch' WRKDIR1='${WRKDIR}' \
    109110            ${BASH} ${TOPDIR}/scripts/update-patches); \
Note: See TracChangeset for help on using the changeset viewer.