Normalize the g(eom,cache,part,...) build.Rather then combining hardlink creation for the geom(8) binary withshared library build, move libraries to src/lib/geom so they arebuilt and installed no
Normalize the g(eom,cache,part,...) build.Rather then combining hardlink creation for the geom(8) binary withshared library build, move libraries to src/lib/geom so they arebuilt and installed normally. Create a common Makefile.classeswhich is included by both lib/geom/Makefile and sbin/geom/Makefileso the symlink and libraries stay in sync.The relocation of libraries allows libraries to be build for 32-bitcompat. This also reduces the number of non-standard builds inthe system.This commit is not sufficent to run a 32-bit /sbin/geom on a 64-bitsystem out of the box as it will look in the wrong place for librariesunless GEOM_LIBRARY_PATH is set appropriatly in the environment.Reviewed by: bdrewerySponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D15360
show more ...