Now that we have proper dependencies on check_for_unshare we take explicit tests for unshare out of the top-level make file and distribute to each subdir Makefile as ifeq...endif sections which control which targets to build. While it doesn't avoid descending into subdirs it's easier to read and check the make code when most of the build rules don't have shell flow control. Even better if we could change the contents of SUBDIRS based on the results of running check_for_unshare.
Also note the use of := and not =. info Make is our friend.
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>,
Acked-by: Serge Hallyn <serue@us.ibm.com>,
5 files changed