[BACK]Return to README CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / compat

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/compat/README between version 1.7 and 1.8

version 1.7, 2011/04/17 01:29:06 version 1.8, 2012/03/29 18:35:11
Line 1 
Line 1 
 $NetBSD$  $NetBSD$
   
   
 Building multi- ABI libraries for NetBSD platforms.  Building multi-ABI libraries for NetBSD platforms.
   
   
 src/compat has a framework to (re)build the libraries shipped with  src/compat has a framework to (re)build the libraries shipped with
Line 15  The basic premise is to re-set $MAKEOBJD
Line 15  The basic premise is to re-set $MAKEOBJD
 underneath src/compat and rebuild the libraries with a different set  underneath src/compat and rebuild the libraries with a different set
 of options.  Each platform wanting support should create their port  of options.  Each platform wanting support should create their port
 subdirectory directly in src/compat, and then one subdirectory in here  subdirectory directly in src/compat, and then one subdirectory in here
 for each ABI required.  e.g., src/compat/amd64/i386 is where we build  for each ABI required, e.g., src/compat/amd64/i386 is where we build
 the 32-bit compat libraries for the amd64 port.  In each of these  the 32-bit compat libraries for the amd64 port.  In each of these
 subdirs, a small Makefile and makefile fragment should exist.  The  subdirectories, a small Makefile and makefile fragment should exist.  The
 Makefile should set BSD_MK_COMPAT_FILE to equal the fragment, and then  Makefile should set BSD_MK_COMPAT_FILE to equal the fragment, and then
 include "../../compatsubdir.mk"  Eg, amd64/i386/Makefile has:  include "../../compatsubdir.mk".  E.g., amd64/i386/Makefile has:
   
         BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.i386.mk          BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.i386.mk
   
Line 60  ld.elf_so) to build with this ABI.
Line 60  ld.elf_so) to build with this ABI.
 archdirs.mk holds the list of subdirectories for each port.  archdirs.mk holds the list of subdirectories for each port.
   
 Makefile.compat has the basic framework to force the right paths for  Makefile.compat has the basic framework to force the right paths for
 library and ld.elf_so linkage.  It contains a hack to create subdirs  library and ld.elf_so linkage.  It contains a hack to create subdirectories
 in the build that should be fixed.  in the build that should be fixed.
   
 dirshack/Makefile is a hack to get objdirs created timely, and should  dirshack/Makefile is a hack to get objdirs created timely, and should

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>