Skip to content

Commit

Permalink
Make PHYLIB module build conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
dderby committed Nov 27, 2014
1 parent 160910c commit 4d2654e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ nice $NICENESS make -j $JOBS rx51_defconfig
sed -i -e 's/\(CONFIG_SYSFS_DEPRECATED\)=y/# \1 is not set/' \
-e '/CONFIG_SYSFS_DEPRECATED_V2/d' .config

# Disable CONFIG_PHYLIB due to bug in Linux 3.16-rc1
sed -i -e 's/\(CONFIG_PHYLIB\)=m/# \1 is not set/' .config
# Disable PHYLIB if building Linux 3.16-rc1 due to dependency cycle bug that breaks depmod
test `cat include/config/kernel.release` = "3.16.0-rc1+" && sed -i 's/\(CONFIG_PHYLIB\)=m/# \1 is not set/' .config

# Build kernel
nice $NICENESS make -j $JOBS
Expand Down

0 comments on commit 4d2654e

Please sign in to comment.