[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..517b25c 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.3.3


--oLBj+sq0vYjzfsbl--



More information about the linux-pcmcia mailing list