Skip to content

Commit

Permalink
[Kernel] make sure kernel build fail on all errors and address git am…
Browse files Browse the repository at this point in the history
… error (#52)

* [Kernel] fail kernel build on all errors
* [Kernel] Check in all lose changes after add them all
Otherwise, the following git am will fail.
  • Loading branch information
yxieca authored and qiluo-msft committed Jul 17, 2018
1 parent e9d056a commit b31ea5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.ONESHELL:
SHELL = /bin/bash
.SHELLFLAGS += -e

KVERSION_SHORT ?= 3.16.0-5
KVERSION ?= $(KVERSION_SHORT)-amd64
Expand Down Expand Up @@ -32,6 +33,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
pushd $(BUILD_DIR)
git init
git add -f *
git commit -m "check in all loose files and diffs"

# patch debian changelog and update kernel package version
git am ../patch/changelog.patch
Expand Down

0 comments on commit b31ea5b

Please sign in to comment.