#CONFIG_STR=${INPUT_STR%_tima_en*}
OPTION_STR=${INPUT_STR#*${CONFIG_STR}}
-INPUT_STR2=${2}
-echo "defconfig : ${CONFIG_STR}_defconfig , option : ${OPTION_STR}, Release : ${INPUT_STR2}"
+echo "defconfig : ${CONFIG_STR}_defconfig , option : ${OPTION_STR}"
if [ "${OPTION_STR}" = "_smk_dis" ]; then
echo "Now change smack-disable for ${CONFIG_STR}_defconfig"
fi
fi
-if [ "${INPUT_STR2}" = "USR" ]; then
- echo "Now disable CONFIG_SLP_KERNEL_ENG for ${CONFIG_STR}_defconfig"
-
- sed -i 's/CONFIG_SLP_KERNEL_ENG=y/\# CONFIG_SLP_KERNEL_ENG is not set/g' arch/arm/configs/${CONFIG_STR}_defconfig
- if [ "$?" != "0" ]; then
- echo "Failed to disable CONFIG_SLP_KERNEL_ENG feature"
- exit 1
- fi
-fi
-
make ARCH=arm ${CONFIG_STR}_defconfig
if [ "$?" != "0" ]; then
echo "Failed to make defconfig"
exit 1
fi
-./scripts/sprd_dtbtool.sh
+./scripts/sprd_dtbtool.sh -p ${DTC_PATH} -v ${BOOT_PATH}/dts/
if [ "$?" != "0" ]; then
echo "Failed to make merged-dtb"
exit 1
fi
-./scripts/sprd_mkdzimage.sh
+./scripts/sprd_mkdzimage.sh -o ${BOOT_PATH}/${DZIMAGE} -k ${BOOT_PATH}/zImage -d ${BOOT_PATH}/merged-dtb
if [ "$?" != "0" ]; then
echo "Failed to make mkdzImage"
exit 1