summaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-06-25 19:55:15 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-06-25 19:55:15 +0000
commite4b0a90e771b94e4b043729a6f0f5564f1d01aca (patch)
tree2cb4088f70d2963a7584dc9069c3c90a27081d45 /targets
parent9c42fa94a63fc22aee2bd106aa12bfa7388f3911 (diff)
downloadsrc-test2-e4b0a90e771b94e4b043729a6f0f5564f1d01aca.tar.gz
src-test2-e4b0a90e771b94e4b043729a6f0f5564f1d01aca.zip
Normalize the g(eom,cache,part,...) build.
Rather then combining hardlink creation for the geom(8) binary with shared library build, move libraries to src/lib/geom so they are built and installed normally. Create a common Makefile.classes which is included by both lib/geom/Makefile and sbin/geom/Makefile so the symlink and libraries stay in sync. The relocation of libraries allows libraries to be build for 32-bit compat. This also reduces the number of non-standard builds in the system. This commit is not sufficent to run a 32-bit /sbin/geom on a 64-bit system out of the box as it will look in the wrong place for libraries unless GEOM_LIBRARY_PATH is set appropriatly in the environment. Reviewed by: bdrewery Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15360
Notes
Notes: svn path=/head/; revision=335645
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/userland/Makefile.depend16
-rw-r--r--targets/pseudo/userland/lib/Makefile.depend16
2 files changed, 16 insertions, 16 deletions
diff --git a/targets/pseudo/userland/Makefile.depend b/targets/pseudo/userland/Makefile.depend
index 470a57d10759..685e603c5c4b 100644
--- a/targets/pseudo/userland/Makefile.depend
+++ b/targets/pseudo/userland/Makefile.depend
@@ -70,22 +70,6 @@ DIRDEPS+= \
sbin/fsdb \
sbin/fsirand \
sbin/gbde \
- sbin/geom/class/cache \
- sbin/geom/class/concat \
- sbin/geom/class/eli \
- sbin/geom/class/journal \
- sbin/geom/class/label \
- sbin/geom/class/mirror \
- sbin/geom/class/mountver \
- sbin/geom/class/multipath \
- sbin/geom/class/nop \
- sbin/geom/class/part \
- sbin/geom/class/raid \
- sbin/geom/class/raid3 \
- sbin/geom/class/sched \
- sbin/geom/class/shsec \
- sbin/geom/class/stripe \
- sbin/geom/class/virstor \
sbin/geom/core \
sbin/ggate/ggatec \
sbin/ggate/ggated \
diff --git a/targets/pseudo/userland/lib/Makefile.depend b/targets/pseudo/userland/lib/Makefile.depend
index 5ff429cb6bcc..381722cb059b 100644
--- a/targets/pseudo/userland/lib/Makefile.depend
+++ b/targets/pseudo/userland/lib/Makefile.depend
@@ -8,6 +8,22 @@ DIRDEPS = \
lib/${CSU_DIR} \
lib/atf/libatf-c \
lib/atf/libatf-c++ \
+ lib/geom/cache \
+ lib/geom/concat \
+ lib/geom/eli \
+ lib/geom/journal \
+ lib/geom/label \
+ lib/geom/mirror \
+ lib/geom/mountver \
+ lib/geom/multipath \
+ lib/geom/nop \
+ lib/geom/part \
+ lib/geom/raid \
+ lib/geom/raid3 \
+ lib/geom/sched \
+ lib/geom/shsec \
+ lib/geom/stripe \
+ lib/geom/virstor \
lib/lib80211 \
lib/libalias/libalias \
lib/libalias/modules/cuseeme \