diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-12 10:53:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-12 10:53:48 +0000 |
commit | ddaf94095891a21cedd6a18d9178e4444fb937a7 (patch) | |
tree | b47bcefa33533e4f41ecce4e3a1bee1d215e006e /Makefile | |
parent | 77879554671206102471bb282accb3251395d151 (diff) |
Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less)
should update and recompile.
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |