From 76f169673caa73b98a1f5c10a6065885d36d5dce Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Wed, 26 Oct 2011 14:38:50 -0400 Subject: Make 'make local' do something helpful --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 39f97b5c2..0a581e092 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,13 @@ include Makefile.config prep: fedpkg -v prep --arch=$(PREPARCH) +noarch: + fedpkg -v local --arch=noarch + +# 'make local' also needs to build the noarch firmware package +local: noarch + fedpkg -v local + extremedebug: @perl -pi -e 's/# CONFIG_DEBUG_PAGEALLOC is not set/CONFIG_DEBUG_PAGEALLOC=y/' config-nodebug @@ -109,9 +116,6 @@ include Makefile.release unused-kernel-patches: @for f in *.patch; do if [ -e $$f ]; then (egrep -q "^Patch[[:digit:]]+:[[:space:]]+$$f" $(SPECFILE) || echo "Unused: $$f") && egrep -q "^ApplyPatch[[:space:]]+$$f|^ApplyOptionalPatch[[:space:]]+$$f" $(SPECFILE) || echo "Unapplied: $$f"; fi; done -# 'make local' also needs to build the noarch firmware package -local: noarch - # # Hacks for building vanilla (unpatched) kernel rpms. # Use "make vanilla-TARGET" like "make TARGET" (make vanilla-scratch-build). -- cgit