1 ifneq ($(SECOND_CALL
),true
)
3 # if this is the top level instantiation of make, call back into itself with
4 # the implicit rules option turned off. There has to be a simpler way
5 # to do this, but I havne't figured it out.
10 @SECOND_CALL
=true
$(MAKE
) $(MKFLAGS
) -f makefile
13 @SECOND_CALL
=true
$(MAKE
) $(MKFLAGS
) -f makefile
$@
17 # figures out the system
20 # include top level macros
23 # sub-makefiles have to fill these in
30 FINAL
:= $(call TOBUILDDIR
, final
)
31 #$(warning FINAL = $(FINAL))
35 # includes the config of the build
36 include config
/make.config
39 include kernel
/makefile
40 include kernel
/addons
/makefile
41 include tools
/makefile
43 include boot
/$(PLATFORM
)/makefile
54 rm -rf
$(APPS_BUILD_DIR
)
56 allclean
: depsclean
clean
62 #$(warning ALL_OBJS = $(ALL_OBJS))
63 #$(warning ALL_DEPS = $(ALL_DEPS))
65 ifeq ($(filter $(MAKECMDGOALS
), allclean
), )