Merge branch 'root_base_linkage'

This commit is contained in:
Geoffrey Challen 2016-02-18 14:20:02 -05:00
commit 08fd92507d
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
/.settings /.settings
/.project /.project
/.cproject /.cproject
/.root
/kern/compile/ /kern/compile/
/defs.mk /defs.mk
build build

View File

@ -163,6 +163,9 @@ includelinks:
clean: clean:
rm -f *.o *.a tags $(KERNEL) rm -f *.o *.a tags $(KERNEL)
rm -rf includelinks rm -rf includelinks
@ABSTOP=$$(readlink -f $(TOP))
unlink $(OSTREE)/.src
unlink $(TOP)/.root
distclean cleandir: clean distclean cleandir: clean
rm -f .depend rm -f .depend
@ -188,6 +191,9 @@ install:
cp $(KERNEL) $(OSTREE)/$(KERNEL)-$(CONFNAME) cp $(KERNEL) $(OSTREE)/$(KERNEL)-$(CONFNAME)
-rm -f $(OSTREE)/$(KERNEL) -rm -f $(OSTREE)/$(KERNEL)
ln -s $(KERNEL)-$(CONFNAME) $(OSTREE)/$(KERNEL) ln -s $(KERNEL)-$(CONFNAME) $(OSTREE)/$(KERNEL)
@ABSTOP=$$(readlink -f $(TOP))
ln -Tsf $(ABSTOP) $(OSTREE)/.src
ln -Tsf $(OSTREE) $(ABSTOP)/.root
# #
# Run tags on all the sources and header files. This is probably not # Run tags on all the sources and header files. This is probably not