This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Small cleanup in Makeconfig
- From: Marek Polacek <polacek at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 1 Aug 2012 16:36:14 +0200
- Subject: [PATCH] Small cleanup in Makeconfig
Since we only support ELF now, I think there's no need for
variables such as binfmt-subdir. Regtested on x86_64. Ok?
2012-08-01 Marek Polacek <polacek@redhat.com>
* Makeconfig: Use elf in place of binfmt-subdir.
(binfmt-subdir): Do not define.
--- libc/Makeconfig.mp4 2012-08-01 15:53:03.111393158 +0200
+++ libc/Makeconfig 2012-08-01 15:55:25.098808499 +0200
@@ -89,10 +89,6 @@ uses-callbacks = $(exceptions)
# What flags to give to tests which test stack alignment
stack-align-test-flags =
-# We have a special subdir for each binary format.
-# For now, only ELF is fully supported.
-binfmt-subdir = elf
-
# Complete path to sysdep dirs.
# `configure' writes a definition of `config-sysdirs' in `config.make'.
sysdirs := $(foreach D,$(config-sysdirs),$(firstword $(filter /%,$D) $(..)$D))
@@ -975,8 +971,8 @@ all-subdirs = csu assert ctype locale in
stdlib stdio-common libio malloc string wcsmbs time dirent \
grp pwd posix io termios resource misc socket sysvipc gmon \
gnulib iconv iconvdata wctype manual shadow gshadow po argp \
- crypt nss localedata timezone rt conform debug \
- $(add-on-subdirs) $(dlfcn) $(binfmt-subdir)
+ crypt nss localedata timezone rt conform debug elf \
+ $(add-on-subdirs) $(dlfcn)
ifndef avoid-generated
all-Depend-files := $(wildcard $(foreach dir,$(all-subdirs),\
Marek