Changeset 5d27a75 in rtems


Ignore:
Timestamp:
Feb 22, 2007, 9:35:25 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
b198ebf
Parents:
8c5c2cce
Message:

Sync. with rtems-4.8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.maint

    r8c5c2cce r5d27a75  
    1515# MAINTAINER notes:
    1616
     17
    1718# Cutting a new release:
    1819# 1. Perform a non-anonymous cvs checkout of the BRANCH
     
    2627# -----------------
    2728# SECURITY: Append a string to tag to avoid accidentially screwing up cvs-tags
    28 # For "hot runs" you will want to use "make -f Makefile.maint TEST_TAG= <command>"
    29 TEST_TAG = -test1
     29# For "hot runs" you will want to use "make -f Makefile.maint TAG_SUFFIX= <command>"
     30TAG_SUFFIX = -test1
    3031
    3132rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
    3233rtems_tag     := $(shell echo "rtems-$(rtems_version)" | tr . -)
     34PATH          := /opt/rtems-4.7/bin:$(PATH)
    3335
    3436# -----------------
     
    3638tag:
    3739        cvs -z9 up -dP >/dev/null
    38         PATH=/opt/rtems-4.7/bin:$$PATH ./bootstrap -p >/dev/null
    39         cvs tag -c $(rtems_tag)$(TEST_TAG) >/dev/null
     40        ./bootstrap -p >/dev/null
     41        cvs tag -c $(rtems_tag)$(TAG_SUFFIX) >/dev/null
    4042
    4143# -----------------
     
    4345rtems-$(rtems_version)/stamp.export:
    4446        rm -rf rtems-$(rtems_version)
    45         @cvs -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TEST_TAG) rtems >/dev/null
     47        @cvs -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TAG_SUFFIX) rtems >/dev/null
    4648        @if ! test -f rtems-$(rtems_version)/VERSION; then \
    4749        echo "ERROR export failed"; \
     
    4951        touch rtems-$(rtems_version)/stamp.export
    5052
    51 rtems-$(rtems_version).tar.bz2: rtems-$(rtems_version)/stamp.autofiles rtems-$(rtems_version)/excludes
     53rtems-$(rtems_version).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
     54          rtems-$(rtems_version)/excludes \
     55          rtems-$(rtems_version)/TOOL_VERSIONS
    5256        tar -cj -X rtems-$(rtems_version)/excludes \
    5357          -f rtems-$(rtems_version).tar.bz2 rtems-$(rtems_version)
     
    6165
    6266rtems-$(rtems_version)/stamp.autofiles: rtems-$(rtems_version)/stamp.cleanup
    63         cd rtems-$(rtems_version) && PATH=/opt/rtems-4.7/bin:$$PATH ./bootstrap -r
     67        cd rtems-$(rtems_version) && ./bootstrap -r
    6468        touch rtems-$(rtems_version)/stamp.autofiles
    6569
     
    7377tarball: rtems-$(rtems_version).tar.bz2
    7478
    75 TOOL_VERSIONS: Makefile.maint
     79rtems-$(rtems_version)/TOOL_VERSIONS: Makefile.maint
    7680        ( \
    7781         date ; \
     
    8690         echo "where this release was made:" ; \
    8791         echo ; \
    88          rpm -q -a | grep rtems-4.7 | sed -e 's/^/    /' ; \
     92         rpm -qa 'rtems-4.7*' | sed -e 's/^/    /' ; \
    8993         echo \
    90          ) >TOOL_VERSIONS
     94         ) > $@
    9195
    9296# -----------------
     
    122126VERSION_FILES += testsuites/aclocal/version.m4
    123127
    124 CVS_RUN := $(shell if [ -n "$(TEST_TAG)" ]; then echo "cvs -n"; else echo "cvs"; fi)
     128CVS_RUN := $(shell if [ -n "$(TAG_SUFFIX)" ]; then echo "cvs -n"; else echo "cvs"; fi)
    125129
    126130commit:
Note: See TracChangeset for help on using the changeset viewer.