%setup -q
%build
-%if 0%{?tizen_build_binary_release_type_eng}
-%define RELEASE_TYPE ENG
-%else
-%define RELEASE_TYPE USR
-%endif
for i in %{BOARDS}; do
target=$i
mkdir -p %_builddir/mod_$target
make distclean
- ./release_obs.sh $target %{RELEASE_TYPE}
+ ./release_obs.sh $target
cp -f arch/arm/boot/zImage %_builddir/zImage.$target
cp -f arch/arm/boot/dzImage %_builddir/dzImage.$target
#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"