diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 11:38:12 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 11:38:12 +0000 |
commit | 79ee9e755f1ca58d9b8c30d676ca117b5ae3d9f4 (patch) | |
tree | 1ad9970fff73ac53acf3a71a6e4426a930fd6c79 /LUFA/Build/lufa.core.in | |
parent | 924c0eb6ac80186297769e5d41065831b2903573 (diff) | |
download | lufa-79ee9e755f1ca58d9b8c30d676ca117b5ae3d9f4.tar.gz lufa-79ee9e755f1ca58d9b8c30d676ca117b5ae3d9f4.tar.bz2 lufa-79ee9e755f1ca58d9b8c30d676ca117b5ae3d9f4.zip |
Add build system targets for lists of mandatory and optional parameters/variables.
Diffstat (limited to 'LUFA/Build/lufa.core.in')
-rw-r--r-- | LUFA/Build/lufa.core.in | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/LUFA/Build/lufa.core.in b/LUFA/Build/lufa.core.in index 71c35e035..e4cc36407 100644 --- a/LUFA/Build/lufa.core.in +++ b/LUFA/Build/lufa.core.in @@ -6,8 +6,10 @@ # www.lufa-lib.org
#
-LUFA_BUILD_MODULES += CORE
-LUFA_BUILD_TARGETS += list_targets list_modules help
+LUFA_BUILD_MODULES += CORE
+LUFA_BUILD_TARGETS += info help list_targets list_modules list_mandatory list_optional
+LUFA_BUILD_MANDATORY_VARS +=
+LUFA_BUILD_OPTIONAL_VARS +=
# -----------------------------------------------------------------------------
# LUFA Core Buildsystem Makefile Module.
@@ -21,6 +23,10 @@ LUFA_BUILD_TARGETS += list_targets list_modules help # help - Build system help
# list_targets - List all build targets
# list_modules - List all build modules
+# list_mandatory - List all mandatory make variables required by
+# the included build modules of the application
+# list_optional - List all optional make variables required by
+# the included build modules of the application
#
# MANDATORY PARAMETERS:
#
@@ -53,14 +59,25 @@ help: info @echo " in your project makefile. Parameters marked as optional will "
@echo " assume a default value in the module if not user-assigned. "
@echo "==================================================================="
- @echo " Currently Used Modules in this application: "
+ @echo " Currently used modules in this application: "
@echo " "
@echo " [" $(sort $(LUFA_BUILD_MODULES)) "]"
@echo " "
@echo " "
- @echo " Currently Available Build Targets in this application: "
+ @echo " Currently available build targets in this application: "
@echo " "
@echo " [" $(sort $(LUFA_BUILD_TARGETS)) "]"
+ @echo " "
+ @echo " "
+ @echo " Mandatory variables required by the selected build Modules: "
+ @echo " "
+ @echo " [" $(sort $(LUFA_BUILD_MANDATORY_VARS)) "]"
+ @echo " "
+ @echo " "
+ @echo " Optional variables required by the selected build Modules: "
+ @echo " "
+ @echo " [" $(sort $(LUFA_BUILD_OPTIONAL_VARS)) "]"
+ @echo " "
@echo "==================================================================="
@echo " The LUFA BuildSystem 2.0 - Powered By Unicorns (tm) "
@echo "==================================================================="
@@ -71,3 +88,8 @@ list_targets: list_modules:
@echo Currently Build Modules: $(sort $(LUFA_BUILD_MODULES))
+list_mandatory:
+ @echo Mandatory Variables for Included Modules: $(sort $(LUFA_BUILD_MANDATORY_VARS))
+
+list_optional:
+ @echo Optional Variables for Included Modules: $(sort $(LUFA_BUILD_OPTIONAL_VARS))
|