Linking root and base during kernel installation.

This commit is contained in:
Geoffrey Challen
2016-02-17 07:54:32 -05:00
parent c00f4584ce
commit 3ab7073fc2
2 changed files with 7 additions and 0 deletions

View File

@@ -163,6 +163,9 @@ includelinks:
clean:
rm -f *.o *.a tags $(KERNEL)
rm -rf includelinks
@ABSTOP=$$(readlink -f $(TOP))
unlink $(OSTREE)/.src
unlink $(TOP)/.root
distclean cleandir: clean
rm -f .depend
@@ -188,6 +191,9 @@ install:
cp $(KERNEL) $(OSTREE)/$(KERNEL)-$(CONFNAME)
-rm -f $(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