Add symlink of parlib->(current_directory) in include install path
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 10 Apr 2012 01:11:41 +0000 (18:11 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Tue, 10 Apr 2012 01:11:41 +0000 (18:11 -0700)
This allows us to access all header files installed on our system
via either <parlib/*> or just regular <*>

user/parlib/Makefile

index cba5b46..13565de 100644 (file)
@@ -43,6 +43,8 @@ $(FINALLIB): $(OBJS)
 install: $(FINALLIB)
        cp $(FINALLIB) $(GCC_ROOT)/$(TARGET_ARCH)-ros/lib/
        cp -R $(INCDIR)/* $(GCC_ROOT)/$(TARGET_ARCH)-ros/sys-include/
+       rm -rf $(GCC_ROOT)/$(TARGET_ARCH)-ros/sys-include/parlib  
+       ln -fs . $(GCC_ROOT)/$(TARGET_ARCH)-ros/sys-include/parlib  
 
 clean: 
        @echo + clean [$(LIBUCNAME)]