From ddaf94095891a21cedd6a18d9178e4444fb937a7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 12 Jan 2001 10:53:48 +0000 Subject: Patch from James Graves to better handle m68k. Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7eae424e0..951b1909c 100644 --- a/Makefile +++ b/Makefile @@ -72,5 +72,19 @@ $(patsubst %, _dir_%, $(DIRS)) : dummy $(patsubst %, _dirclean_%, $(DIRS) test) : dummy $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean + +install: libc.a + rm -f $(INSTALL_DIR)/include/asm + rm -f $(INSTALL_DIR)/include/linux + rm -f $(INSTALL_DIR)/include/net + ln -s $(KERNEL_SOURCE)/include/asm $(INSTALL_DIR)/include/asm + ln -s $(KERNEL_SOURCE)/include/net $(INSTALL_DIR)/include/net + ln -s $(KERNEL_SOURCE)/include/linux $(INSTALL_DIR)/include/linux + mkdir -p $(INSTALL_DIR)/include/bits + find include/ -type f -depth -print | cpio -pdmu $(INSTALL_DIR) + find include/bits/ -depth -print | cpio -pdmu $(INSTALL_DIR) + cp libc.a $(INSTALL_DIR)/lib + if [ -f crt0.o ] ; then cp crt0.o $(INSTALL_DIR)/lib ; fi + .PHONY: dummy -- cgit v1.2.3