BUILDSTAMP_TARGETS will be built during the "pretarget" phase of a build. BUILDSTAMP_TARGETS may be built in isolation by requesting the "config_buildstamp" target.
# The source root of this component COMPONENT_ROOT=../.. # The root of the build system BS_ROOT=$(COMPONENT_ROOT)/../build3 # Bootstrap Build system definitions. include $(BS_ROOT)/defines.mk BUILDSTAMP_TARGETS=buildnum # Finally, include the rules to make the build system go. include $(BS_ROOT)/rules.mk