[PATCH 3/3] Use architecture-specific config.opts if it exists

Colin Watson cjwatson at debian.org
Tue Jan 5 07:11:13 EST 2010


Originally by Per Olofsson <pelle at debian.org>.

Signed-off-by: Colin Watson <cjwatson at debian.org>
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index f4acfb3..e7ff190 100644
--- a/Makefile
+++ b/Makefile
@@ -297,6 +297,9 @@ uninstall-tools:
 install-config:
 	$(INSTALL) -d $(DESTDIR)$(pcmciaconfdir)
 	$(INSTALL_DATA)  -D config/config.opts $(DESTDIR)$(pcmciaconfdir)/config.opts
+	if [ -f config/config.opts.$(ARCH) ]; then
+		$(INSTALL_DATA) -D config/config.opts.$(ARCH) $(DESTDIR)$(pcmciaconfdir)/config.opts; \
+	fi
 
 uninstall-config:
 #	- rm -f $(DESTDIR)$(pcmciaconfdir)/config.opts
-- 
1.6.5.7


--yrj/dFKFPuw6o+aM--



More information about the linux-pcmcia mailing list