Common checks for 'any' builds.

This commit is contained in:
Jeffrey Townsend
2016-01-07 18:56:25 +00:00
parent a5e9c5b86a
commit 01ab71fb42
6 changed files with 18 additions and 35 deletions

13
make/any.mk Normal file
View File

@@ -0,0 +1,13 @@
include $(ONL)/make/config.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
ifndef ARCH
$(error $$ARCH must be specified.)
else
export ARCH
endif

View File

@@ -19,13 +19,7 @@
# #
# </bsn.cl> # </bsn.cl>
############################################################ ############################################################
include $(ONL)/make/config.mk include $(ONL)/make/any.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
MODULE := faultd-module MODULE := faultd-module
include $(BUILDER)/standardinit.mk include $(BUILDER)/standardinit.mk

View File

@@ -29,13 +29,7 @@
# #
# #
############################################################ ############################################################
include $(ONL)/make/config.mk include $(ONL)/make/any.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
MODULE := libonlp-platform-defaults-module MODULE := libonlp-platform-defaults-module
include $(BUILDER)/standardinit.mk include $(BUILDER)/standardinit.mk

View File

@@ -22,13 +22,7 @@
# #
# #
############################################################ ############################################################
include $(ONL)/make/config.mk include $(ONL)/make/any.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
MODULE := libonlp-platform-module MODULE := libonlp-platform-module
include $(BUILDER)/standardinit.mk include $(BUILDER)/standardinit.mk

View File

@@ -22,13 +22,7 @@
# #
# #
############################################################ ############################################################
include $(ONL)/make/config.mk include $(ONL)/make/any.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
MODULE := libonlp-module MODULE := libonlp-module
include $(BUILDER)/standardinit.mk include $(BUILDER)/standardinit.mk

View File

@@ -22,13 +22,7 @@
# #
# #
############################################################ ############################################################
include $(ONL)/make/config.mk include $(ONL)/make/any.mk
ifndef TOOLCHAIN
$(error $$TOOLCHAIN must be specified.)
else
export TOOLCHAIN
endif
MODULE := onlpd-module MODULE := onlpd-module
include $(BUILDER)/standardinit.mk include $(BUILDER)/standardinit.mk