summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-10 11:58:29 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-10 11:58:29 -0500
commit237c76348680288690d98b47aeb474bd30ec666d (patch)
tree3e92d2eca29a0d8311bd6ac4852fefc006a8fcc4
parentMakefile: updated to probably install architecture specific .h files (diff)
downloadrtems-libbsd-237c76348680288690d98b47aeb474bd30ec666d.tar.bz2
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.
-rw-r--r--Makefile2
-rwxr-xr-xfreebsd-to-rtems.py2
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' \