Changeset f95d2b53 in rtems for make/host.cfg.in


Ignore:
Timestamp:
Jul 17, 1998, 3:49:12 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4fb08fd
Parents:
8123c635
Message:

Patch from Ralf Corsepius <corsepiu@…>. Comments:

  • Added support for bsd "install" ($(BSDINSTALL)) to host.cfg.in, i.e. the standard "install" program that most packages (including automake) use. In Makefiles outside of rtems, "install" normally is referenced by $(INSTALL), but rtems already uses $(INSTALL) for install-if-change, hence I used $(BSDINSTALL) instead to keep up backward compatibility.
  • Removed references to @GREP@ etc. from host.cfg.in, as configure.in doesn't check for them (Minor cleanup).
  • Added installation flags INST*FLAGS to host.cfg.in, which should replace -m XXXX flags for installation calls.

*Changes to gcc.cfg to enable it to build host programs from multiple
sources files.
Should not disturb existing sources, but neccessary.

  • There was a not-so-minor bug in the configuration files: "make install" and "make debug_install" don't work in all subdirectories!! I tried to fix this by adding "install" to MTARGETS in main.cfg, which seems to solve most of the problems. But there still seem to be rare (?) cases where "make debug_install" still seems to have problems.
  • Changes to many host related tool-Makefiles to demonstrate the abilities of INST*FLAGS, BSDINSTALL and the new rules in gcc.cfg. ..of cause ... but BSDINSTALL is THE standard method to install files in most program packages besides rtems. This part of the patch fixes some minor protection setting problems, but doesn't support TARGET_VARIANTS

NOTE:
I hope you will like the BSDINSTALL, INST*FLAGS stuff. It is a step to
get rid of "install-if-change" and to rely on a more standard
installation procedure. If you don't like BSDINSTALL, removing it from
the patch isn't difficult- just grep for BSDINSTALL and replace
BSDINSTALL with INSTALL or MKDIR.

FINALLY:
I still have another patch pending (well, not a complete patch yet, it's
a partial patch to demonstrate the principle), which adds automatic
rebuilding of files generated by autoconf/configure. At the moment I
don't dare to submit it, because integrating this patch would require to
modify all Makefile.ins because we'd need to add a new "include " line
to each Makefile.in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/host.cfg.in

    r8123c635 rf95d2b53  
    3131M4=@M4@
    3232
     33BSDINSTALL=@INSTALL@
    3334INSTALL=$(PROJECT_TOOLS)/install-if-change
    3435INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)"
    35 
    36 FGREP=@FGREP@
    37 GREP=@GREP@
    38 EGREP=@EGREP@
    3936
    4037# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
     
    7168        $(CHMOD) 0555 $@
    7269endef
     70
     71INSTBINFLAGS  = -m 0755
     72INSTDATAFLAGS = -m 0644
     73INSTLIBFLAGS  = -m 0644
     74INSTDIRFLAGS  = -m 0755 -d
     75INSTINCFLAGS  = -m 0644
Note: See TracChangeset for help on using the changeset viewer.