libstand: Rework makefile to avoid repeated building
authorJohn Marino <draco@marino.st>
Mon, 23 Mar 2015 13:39:27 +0000 (14:39 +0100)
committerJohn Marino <draco@marino.st>
Mon, 23 Mar 2015 16:09:45 +0000 (17:09 +0100)
commit217126c8c0d94a9318ade9f0752c5d0986710b6b
tree4ae7d9bad657fc9dd2b6a99185bcf3dc743061b3
parenta413fe45675e6d132bfaa7a0a089b5a6e670bb07
libstand: Rework makefile to avoid repeated building

The change to use i386 headers for x86_64 was like a sledgehammer.
From my investigation, "cpu" is not needed at all, and only four headers
are needed from "machine".  The "cpu" directory is still created so that
if some attempt to "#include <cpu/xxx>" is made, it will fail.

By adding exact header dependencies, we prevent libstand from building
over and over again in quickworld.
lib/libstand/Makefile