Changeset cb5bfe4 in rtems for c/Makefile.in


Ignore:
Timestamp:
Jan 20, 1998, 7:41:09 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
fbaf52eb
Parents:
6d6f1b34
Message:

Removed CONFIG_DIR and PROJECT_HOME directories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/Makefile.in

    r6d6f1b34 rcb5bfe4  
    2525include $(RTEMS_CUSTOM)
    2626include $(RTEMS_ROOT)/make/directory.cfg
    27 
    28 # dubious, but needed by rtems-glom ...
    29 export PROJECT_HOME
    3027
    3128SUB_DIRS=build-tools src
     
    7572
    7673dirs:
     74        -$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
    7775        -test -d $(PROJECT_ROOT)/c/src/lib/libhwapi && \
    7876            (cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs)
    79         -$(MKDIR) ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
    8077#       @echo Making directories in build tree ...
    8178#       -$(foreach dir,$(CREATE_DIRS), \
     
    9087        cd build-tools; $(MAKE) clean
    9188
     89$(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc: $(PROJECT_ROOT)/make/Templates/Makefile.inc
     90        echo "RTEMS_BSP = $(RTEMS_BSP)" > $@
     91        $(CAT) $< >> $@
     92
    9293# NOTE: The wildcard on the install should pick up everything except
    9394#       the tests directory.  This significantly minimizes the install size.
    9495
    95 
    96 install_files:
    97          -$(MKDIR) $(prefix)/
    98          -$(MKDIR) $(prefix)/rtems
    99          -$(MKDIR) $(prefix)/rtems/make
    100          -$(MKDIR) $(prefix)/rtems/make/compilers
    101          -$(MKDIR) $(prefix)/rtems/make/custom
    102         -rm -rf $(prefix)/rtems/$(RTEMS_BSP)
    103         cd ../; tar cf - make $(RTEMS_BSP)/[bilsu]* | \
     96install_files: $(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc
     97        -$(MKDIR) $(prefix)/
     98        -$(MKDIR) $(prefix)/rtems
     99        -$(RM) -rf $(prefix)/rtems/$(RTEMS_BSP)
     100        cd ../; tar cf - $(RTEMS_BSP)/[bilsuM]* | \
    104101                (cd $(prefix)/rtems; tar xpBf - )
    105         (echo RTEMS_BSP = $(RTEMS_BSP) ; $(CAT) make/Templates/Makefile.inc ) \
    106                 > $(prefix)/rtems/$(RTEMS_BSP)/Makefile.inc
     102        cd ../make; make RTEMS_BSP=$(RTEMS_BSP) install
    107103
    108104tests:
Note: See TracChangeset for help on using the changeset viewer.