Force glibc libraries into kfs on install-libs make target
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 22 Feb 2011 05:29:28 +0000 (21:29 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:58 +0000 (17:35 -0700)
GNUmakefile

index d5a6e9f..0dc9f82 100644 (file)
@@ -161,6 +161,8 @@ realtests: $(TESTS_EXECS)
 #      cp -R $(OBJDIR)/$(TESTS_DIR)/* $(TOP_DIR)/fs/$(TARGET_ARCH)/tests
 
 install-libs: 
+       @rm -rf $(firstword $(INITRAMFS_PATHS))/lib
+       @cp -R $(GCC_ROOT)/$(TARGET_ARCH)-ros/lib $(firstword $(INITRAMFS_PATHS))
        @cd user/parlib; $(MAKE); $(MAKE) install
        @cd user/pthread; $(MAKE); $(MAKE) install
        @cd user/c3po; $(MAKE); $(MAKE) install