diff options
author | Karel Kočí <cynerd@email.cz> | 2017-04-29 21:10:05 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-04-29 21:10:05 +0200 |
commit | a732501dc25554a257a8343cc630aa9ec17d5e79 (patch) | |
tree | f69e388a55d38e3e18127e5feed5c461093bf1c6 /sys-boot/linux | |
parent | e17beb5c2327a1764069d28a424d489022bc29d1 (diff) | |
download | gentoo-personal-overlay-a732501dc25554a257a8343cc630aa9ec17d5e79.tar.gz gentoo-personal-overlay-a732501dc25554a257a8343cc630aa9ec17d5e79.tar.bz2 gentoo-personal-overlay-a732501dc25554a257a8343cc630aa9ec17d5e79.zip |
linux package fixes
Diffstat (limited to 'sys-boot/linux')
-rw-r--r-- | sys-boot/linux/linux-4.10.13.ebuild | 22 |
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() { |