ARCH check.

This commit is contained in:
Jeffrey Townsend
2017-01-01 19:39:04 +00:00
parent fbda6574a9
commit 13e20e596c

View File

@@ -10,5 +10,10 @@ ifndef PLATFORM
$(error $$PLATFORM must be set)
endif
ifndef ARCH
$(error $$ARCH must be set)
endif
modules:
$(ONL)/tools/scripts/kmodbuild.sh "$(KERNELS)" "$(KMODULES)" $(PLATFORM)
ARCH=$(ARCH) $(ONL)/tools/scripts/kmodbuild.sh "$(KERNELS)" "$(KMODULES)" $(PLATFORM)