From 237c76348680288690d98b47aeb474bd30ec666d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 10 Jul 2012 11:58:29 -0500 Subject: [PATCH] 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 84e6462e..79b7f20c 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 56bc6ad1..c5b0916a 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' \