diff options
author | Alexandre Oliva <lxoliva@fsfla.org> | 2018-03-22 21:17:06 +0000 |
---|---|---|
committer | Alexandre Oliva <lxoliva@fsfla.org> | 2018-03-22 21:17:06 +0000 |
commit | e6b1f4ff84c9ccd41c1e39545659b28bd072691f (patch) | |
tree | 645f4792bf77659395371280b69992239f97c020 /freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile | |
parent | 98e659baa3de0549b84bac54c05a4a60067f78d1 (diff) | |
download | linux-libre-raptor-e6b1f4ff84c9ccd41c1e39545659b28bd072691f.tar.gz linux-libre-raptor-e6b1f4ff84c9ccd41c1e39545659b28bd072691f.zip |
tag 4.15.12-200.fc26.gnu
Diffstat (limited to 'freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile')
-rw-r--r-- | freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile b/freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile new file mode 100644 index 000000000..1c0aaa6e8 --- /dev/null +++ b/freed-ora/tags/f26/4.15.12-200.fc26.gnu/Makefile @@ -0,0 +1,50 @@ +# Makefile for source rpm: kernel +SPECFILE := kernel.spec + +# we only check the .sign signatures +UPSTREAM_CHECKS = sign + +.PHONY: help +help: +%: + @echo "Try fedpkg $@ or something like that" + @exit 1 + +prep: config-files + fedpkg -v prep + +noarch: + fedpkg -v local --arch=noarch + +# 'make local' also needs to build the noarch firmware package +local: + fedpkg -v local + +extremedebug: + @perl -pi -e 's/# CONFIG_DEBUG_PAGEALLOC is not set/CONFIG_DEBUG_PAGEALLOC=y/' config-nodebug + +config-files: + @./build_configs.sh + +debug: + @perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec + @rpmdev-bumpspec -c "Reenable debugging options." kernel.spec + +release: + @perl -pi -e 's/^%define debugbuildsenabled 0/%define debugbuildsenabled 1/' kernel.spec + @rpmdev-bumpspec -c "Disable debugging options." kernel.spec + +nodebuginfo: + @perl -pi -e 's/^%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 1\}/%define with_debuginfo %\{\?_without_debuginfo: 0\} %\{\?\!_without_debuginfo: 0\}/' kernel.spec + +nodebug: release + @perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec + +ifeq ($(MAKECMDGOALS),me a sandwich) +.PHONY: me a sandwich +me a: + @: + +sandwich: + @[ `id -u` -ne 0 ] && echo "What? Make it yourself." || echo Okay. +endif |