Remove leading rtems/ directory from paths under rtemsbsd

This commit is contained in:
Joel Sherrill 2012-03-08 11:05:16 -06:00
parent 6ad03bf517
commit 3616a063a1
29 changed files with 9 additions and 5 deletions

View File

@ -6,8 +6,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg
CFLAGS += -ffreestanding CFLAGS += -ffreestanding
CFLAGS += -I . CFLAGS += -I .
# CFLAGS += -I rtemsbsd CFLAGS += -I rtemsbsd
CFLAGS += -I rtemsbsd/rtems
CFLAGS += -I contrib/altq CFLAGS += -I contrib/altq
CFLAGS += -I contrib/pf CFLAGS += -I contrib/pf
CFLAGS += -B $(INSTALL_BASE) CFLAGS += -B $(INSTALL_BASE)
@ -350,8 +349,11 @@ lib_usb:
make $(LIB) make $(LIB)
install: $(LIB) install: $(LIB)
install -d "$(INSTALL_BASE)/include"
install -c -m 644 $(LIB) $(INSTALL_BASE) install -c -m 644 $(LIB) $(INSTALL_BASE)
for i in `find . -name '*.h'` ; do \ cd rtemsbsd; for i in `find . -name '*.h'` ; do \
install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
for i in `find contrib freebsd -name '*.h'` ; do \
install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
clean: clean:

View File

@ -297,7 +297,6 @@ class ModuleManager:
'CFLAGS += -ffreestanding \n' \ 'CFLAGS += -ffreestanding \n' \
'CFLAGS += -I . \n' \ 'CFLAGS += -I . \n' \
'CFLAGS += -I rtemsbsd \n' \ 'CFLAGS += -I rtemsbsd \n' \
'CFLAGS += -I rtemsbsd/rtems \n' \
'CFLAGS += -I contrib/altq \n' \ 'CFLAGS += -I contrib/altq \n' \
'CFLAGS += -I contrib/pf \n' \ 'CFLAGS += -I contrib/pf \n' \
'CFLAGS += -B $(INSTALL_BASE) \n' \ 'CFLAGS += -B $(INSTALL_BASE) \n' \
@ -328,8 +327,11 @@ class ModuleManager:
'\tmake $(LIB)\n' \ '\tmake $(LIB)\n' \
'\n' \ '\n' \
'install: $(LIB)\n' \ 'install: $(LIB)\n' \
'\tinstall -d $(INSTALL_BASE)/include\n' \
'\tinstall -c -m 644 $(LIB) $(INSTALL_BASE)\n' \ '\tinstall -c -m 644 $(LIB) $(INSTALL_BASE)\n' \
'\tfor i in `find . -name \'*.h\'` ; do \\\n' \ '\tcd rtemsbsd; for i in `find . -name \'*.h\'` ; do \\\n' \
'\t install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \
'\tfor i in `find contrib freebsd -name \'*.h\'` ; do \\\n' \
'\t install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \ '\t install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done\n' \
'\n' \ '\n' \
'clean:\n' \ 'clean:\n' \