summaryrefslogtreecommitdiffstats
path: root/freed-ora/current/F-12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freed-ora/current/F-12/Makefile')
-rw-r--r--freed-ora/current/F-12/Makefile31
1 files changed, 8 insertions, 23 deletions
diff --git a/freed-ora/current/F-12/Makefile b/freed-ora/current/F-12/Makefile
index 7fa44b0b6..46e734236 100644
--- a/freed-ora/current/F-12/Makefile
+++ b/freed-ora/current/F-12/Makefile
@@ -1,6 +1,4 @@
# Makefile for source rpm: kernel
-# $Id: Makefile,v 1.116 2010/01/05 11:08:24 cebbert Exp $
-NAME := kernel
SPECFILE := kernel.spec
# use noarch for make prep instead of the current CPU
@@ -11,25 +9,12 @@ PREPARCH = noarch
# we only check the .sign signatures
UPSTREAM_CHECKS = sign
-# local targets we need to carry around in addition to the default sources
-TARGETS = download
+.PHONY: help
+help:
+%:
+ @echo "Try fedpkg $@ or something like that"
+ @exit 1
-define find-makefile-common
-for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update >/dev/null ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
-endef
-
-MAKEFILE_COMMON := $(shell $(find-makefile-common))
-
-ifeq ($(MAKEFILE_COMMON),)
-# attept a checkout
-define checkout-makefile-common
-test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
-endef
-
-MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
-endif
-
-include $(MAKEFILE_COMMON)
include Makefile.config
ifndef KVERSION
@@ -38,6 +23,9 @@ KVERSION := $(shell awk '$$1 == "%define" && $$2 == "base_sublevel" { \
}' $(SPECFILE))
endif
+prep:
+ fedpkg -v prep --arch=$(PREPARCH)
+
extremedebug:
@perl -pi -e 's/# CONFIG_DEBUG_PAGEALLOC is not set/CONFIG_DEBUG_PAGEALLOC=y/' config-nodebug
@@ -154,9 +142,6 @@ reconfig:
@VERSION=$(KVERSION) make -f Makefile.config configs
@scripts/reconfig.sh
-force-tag: $(SPECFILE) $(COMMON_DIR)/branches
- @$(MAKE) tag TAG_OPTS="-F $(TAG_OPTS)"
-
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
OpenPOWER on IntegriCloud