[rtems-libbsd commit] Makefile: Do not install contrib . h files until proven needed

Joel Sherrill joel at rtems.org
Tue Jul 10 16:55:44 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    237c76348680288690d98b47aeb474bd30ec666d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=237c76348680288690d98b47aeb474bd30ec666d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Jul 10 11:58:29 2012 -0500

Makefile: Do not install contrib .h files until proven needed

They were not installed in the correct subdirectory for the
way they were included in the kernel source anyway. If they
are needed at the user level, then we can re-address it then.

---

 Makefile            |    2 +-
 freebsd-to-rtems.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 84e6462..79b7f20 100644
--- a/Makefile
+++ b/Makefile
@@ -465,7 +465,7 @@ install: $(LIB)
 	install -c -m 644 $(LIB) $(INSTALL_BASE)
 	cd rtemsbsd; for i in `find . -name '*.h' | $(CPU_SED)` ; do \
 	  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
-	for i in `find contrib freebsd -name '*.h' | $(CPU_SED)` ; do \
+	for i in `find freebsd -name '*.h' | $(CPU_SED)` ; do \
 	  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
 	cd freebsd/$(RTEMS_CPU)/include ; for i in `find . -name '*.h'` ; do \
 	  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index 56bc6ad..c5b0916 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -385,7 +385,7 @@ class ModuleManager:
 			'\tinstall -c -m 644 $(LIB) $(INSTALL_BASE)\n' \
 			'\tcd rtemsbsd; for i in `find . -name \'*.h\' | $(CPU_SED)` ; do \\\n' \
 			'\t  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \
-			'\tfor i in `find contrib freebsd -name \'*.h\' | $(CPU_SED)` ; do \\\n' \
+			'\tfor i in `find freebsd -name \'*.h\' | $(CPU_SED)` ; do \\\n' \
 			'\t  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \
 			'\tcd freebsd/$(RTEMS_CPU)/include ; for i in `find . -name \'*.h\'` ; do \\\n' \
 			'\t  install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \




More information about the vc mailing list