diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-08 11:05:16 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-08 11:05:16 -0600 |
commit | 3616a063a1b40795271d4678fb3b2ee9441836d6 (patch) | |
tree | 93deac6f56fbe8d5b61b8f278a81e6c7f3b2072e /Makefile | |
parent | Remove rtems/ from includes of RTEMS specific files (diff) | |
download | rtems-libbsd-3616a063a1b40795271d4678fb3b2ee9441836d6.tar.bz2 |
Remove leading rtems/ directory from paths under rtemsbsd
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6,8 +6,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg CFLAGS += -ffreestanding CFLAGS += -I . -# CFLAGS += -I rtemsbsd -CFLAGS += -I rtemsbsd/rtems +CFLAGS += -I rtemsbsd CFLAGS += -I contrib/altq CFLAGS += -I contrib/pf CFLAGS += -B $(INSTALL_BASE) @@ -350,8 +349,11 @@ lib_usb: make $(LIB) install: $(LIB) + install -d "$(INSTALL_BASE)/include" 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 clean: |