summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-boot/linux/linux-4.10.13.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/sys-boot/linux/linux-4.10.13.ebuild b/sys-boot/linux/linux-4.10.13.ebuild
index a05ff34..19b339a 100644
--- a/sys-boot/linux/linux-4.10.13.ebuild
+++ b/sys-boot/linux/linux-4.10.13.ebuild
@@ -27,30 +27,26 @@ src_configure() {
[ "$ARCH" = "amd64" ] && ARCH="x86"
emake mrproper
- # TODO support cross compile
# Generate default configuration
emake defconfig
+ # Prepare list of arguments
+ ARGS=""
+ for U in $IUSE; do
+ ARGS="$ARGS $(usev $U)"
+ done
+
# Apply configuration
(
- ARGS=""
- for U in $IUSE; do
- ARGS="$ARGS $(usev $U)"
- done
cd "${S}"
"${FILESDIR}"/config_prepare.sh $ARGS
- )
+ ) || fail
# Process changes
- emake olddefconfig
+ emake olddefconfig 2>/dev/null
# Check changes
- EOUT="$("${FILESDIR}"/config_miss.sh $ARGS)"
- if [ $? -ne 0 ]; then
- eerror "Configuration failed:
-$EOUT"
- fail
- fi
+ eerror "$("${FILESDIR}"/config_miss.sh $ARGS)" || fail
}
src_install() {