summaryrefslogtreecommitdiff
path: root/emulators/linux_base-suse-9.1/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
commita2fc57960bdbea48c2f7514de486dece28ed38e6 (patch)
tree1c562a25e67c6bafa324c1f036a7a85da97243ab /emulators/linux_base-suse-9.1/Makefile
parento update-status-headers configuration option should disable both (diff)
On amd64 we want to use FALLBACK_ELF_MIB as kern.elf32.fallback_brand,
vs. kern.fallback_elf_brand.
Notes
Notes: svn path=/head/; revision=124024
Diffstat (limited to 'emulators/linux_base-suse-9.1/Makefile')
-rw-r--r--emulators/linux_base-suse-9.1/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/linux_base-suse-9.1/Makefile b/emulators/linux_base-suse-9.1/Makefile
index 9df18ac40bd9..12a4272d2ca5 100644
--- a/emulators/linux_base-suse-9.1/Makefile
+++ b/emulators/linux_base-suse-9.1/Makefile
@@ -102,7 +102,11 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \
etc/protocols
BRAND_FILES= bin/rpm sbin/ldconfig sbin/sln
+.if (${ARCH} == "amd64")
+FALLBACK_ELF_MIB= kern.elf32.fallback_brand
+.else
FALLBACK_ELF_MIB= kern.fallback_elf_brand
+.endif
LINUX_ELF= 3
PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB}