From 241776ec2ec73b9dd1b9194eecc925c46d7cc095 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Wed, 16 Dec 2015 00:55:08 +0000 Subject: [PATCH] Allow filtering by architecture. --- make/pkg.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/make/pkg.mk b/make/pkg.mk index 03bd6108..f2159940 100644 --- a/make/pkg.mk +++ b/make/pkg.mk @@ -13,12 +13,16 @@ include $(ONL)/make/config.mk # Invoke onlpm to build all packages in the current # directory tree. # +ifndef ARCHES +ARCHES := amd64 powerpc all +endif + pkgall: - $(ONL_V_at) MAKE=$(MAKE) onlpm.py --build all + $(ONL_V_at) MAKE=$(MAKE) onlpm.py --build all --arches $(ARCHES) clean: - $(ONL_V_at) MAKE=$(MAKE) onlpm.py --clean all + $(ONL_V_at) MAKE=$(MAKE) onlpm.py --clean all --arches $(ARCHES) rebuild: $(ONL_V_at) MAKE=$(MAKE) onlpm.py --rebuild-pkg-cache @@ -37,7 +41,7 @@ subdir: # Package construction only (no build step) # pkg: - $(ONL_V_at) MAKE=$(MAKE) NOBUILD=1 onlpm.py --build all + $(ONL_V_at) MAKE=$(MAKE) NOBUILD=1 onlpm.py --build all --arches $(ARCHES)