linux5.1: remove pointless defconfig right before allmodconfig

[ci skip]
This commit is contained in:
avoidr 2019-07-06 00:17:52 +02:00 committed by Juan RP
parent 8f043905c2
commit 7fc522e9b6
1 changed files with 2 additions and 3 deletions

View File

@ -42,7 +42,7 @@ do_configure() {
# If there's a file called <arch>-dotconfig, use it to # If there's a file called <arch>-dotconfig, use it to
# configure the kernel; otherwise use arch defaults and all stuff # configure the kernel; otherwise use arch defaults and all stuff
# as modules (defconfig+allmodconfig). # as modules (allmodconfig).
local arch subarch _args local arch subarch _args
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
@ -72,8 +72,7 @@ do_configure() {
cp -f ${FILESDIR}/${XBPS_TARGET_MACHINE%%-musl}-dotconfig .config cp -f ${FILESDIR}/${XBPS_TARGET_MACHINE%%-musl}-dotconfig .config
make ${makejobs} ARCH=$arch ${_args} oldconfig make ${makejobs} ARCH=$arch ${_args} oldconfig
else else
msg_normal "Defaulting to 'defconfig and allmodconfig'.\n" msg_normal "Defaulting to 'allmodconfig'.\n"
make ${makejobs} ARCH=$arch ${_args} defconfig
make ${makejobs} ARCH=$arch ${_args} allmodconfig make ${makejobs} ARCH=$arch ${_args} allmodconfig
fi fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version. # Always use our revision to CONFIG_LOCALVERSION to match our pkg version.