Clean Up Makefile

- Remove explicit setting of $PATH
  - Fix line length issue on install for loop
This commit is contained in:
Joel Sherrill 2012-03-07 11:23:04 -06:00
parent 9bc03ed8eb
commit 7e970b1d4a
2 changed files with 9 additions and 2 deletions

View File

@ -339,12 +339,12 @@ $(LIB): $(C_O_FILES)
$(AR) rcu $@ $^
lib_usb:
export PATH=$(PATH):/usr/local/gcc-4.5.2/bin ; \
make $(LIB)
install: $(LIB)
install -c -m 644 $(LIB) $(INSTALL_BASE)
for i in `find . -name '*.h'` ; do install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
for i in `find . -name '*.h'` ; do \
install -c -m 644 -D "$$i" "$(INSTALL_BASE)/include/$$i" ; done
clean:
rm -f -r $(PROJECT_INCLUDE)/rtems/freebsd

7
TODO Normal file
View File

@ -0,0 +1,7 @@
+ Update freebsd-to-rtems.py to:
- Makefile: add include config.inc
- Generate config.inc
- Remove internal setting of $PATH to include gcc-4.5.2/bin
- Split install for loop line that wraps