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 ifeq ($(MAKEFILE_LIST
),)
18 $(warning This build system requires the MAKEFILE_LIST feature
,)
19 $(warning which was added to GNU make in version
3.80.
)
20 $(warning You are running
$(MAKE_VERSION
).
)
21 $(error Required make feature missing
)
24 # figures out the system
27 # include top level macros
30 # sub-makefiles have to fill these in
37 FINAL
:= $(call TOBUILDDIR
, final
)
38 #$(warning FINAL = $(FINAL))
42 # includes the config of the build
43 include config
/make.config
46 include kernel
/makefile
47 include kernel
/addons
/makefile
48 include tools
/makefile
50 include boot
/$(PLATFORM
)/makefile
61 rm -rf
$(APPS_BUILD_DIR
)
63 allclean
: depsclean
clean
69 #$(warning ALL_OBJS = $(ALL_OBJS))
70 #$(warning ALL_DEPS = $(ALL_DEPS))
72 ifeq ($(filter $(MAKECMDGOALS
), allclean
), )