Skip to content

Commit

Permalink
crashlinux: Never start from default config
Browse files Browse the repository at this point in the history
Require CONFIG always to be specified. It doesn't make sense to start
with a default config, because CONFIG_CRASH_DUMP=y would not be set.
  • Loading branch information
donald committed May 11, 2017
1 parent 990b9d5 commit 68d242d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crashlinux-4.4.67-0.bee
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ mee_patch() {
mee_configure() {
echo "configure $@"

if [ -n "$CONFIG" ] ; then
cp -v ${CONFIG} .config
make -C $S olddefconfig
else
make -C $S defconfig
if [ -z "$CONFIG" ]; then
echo "please specifiy old config in environment"
exit 1
fi

cp -v ${CONFIG} .config
make -C $S olddefconfig
LOCALVERSION="\"${KERNELLOCAL}\""
sed -i -e "s@CONFIG_LOCALVERSION=.*@CONFIG_LOCALVERSION=${LOCALVERSION}@" .config

Expand Down

0 comments on commit 68d242d

Please sign in to comment.