Skip to content

Commit 8c43b32

Browse files
committed
build.sh: add importfullconfig to concatenate configs
1 parent b855e90 commit 8c43b32

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

build.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,25 @@ if [ -n "$kernver" ]; then
11311131
fi
11321132
;;
11331133

1134+
"importfullconfig")
1135+
echo "import full config"
1136+
if [[ -e "${DEFCONFIG}" ]];then
1137+
tmpfile=${DEFCONFIG%/*}/temp_defconfig
1138+
cat $DEFCONFIG > ${tmpfile}
1139+
if [[ -e config_generic ]];then
1140+
echo "append generic config"
1141+
cat config_generic >> $tmpfile
1142+
fi
1143+
if [[ -e config_${board} ]];then
1144+
echo "append board config"
1145+
cat config_${board} >> $tmpfile
1146+
fi
1147+
make temp_defconfig
1148+
else
1149+
echo "file ${DEFCONFIG} not found"
1150+
fi
1151+
;;
1152+
11341153
"ic")
11351154
echo "menu for multiple conf-files...currently in developement"
11361155
files=();

config_bpi-r3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_MARVELL_PHY=m

config_bpi-r4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_MARVELL_PHY=m
2+
CONFIG_MARVELL_10G_PHY=m

config_generic

Whitespace-only changes.

0 commit comments

Comments
 (0)