diff --git a/targets/build_helper.bash b/targets/build_helper.bash
index 10c7d3f93d91ae037ab5862f6928186c17d5bfe2..f2bb898f6e70f9fa7a1948e9fdf480cb14de964c 100755
--- a/targets/build_helper.bash
+++ b/targets/build_helper.bash
@@ -696,7 +696,7 @@ compile_epc() {
     cd $OPENAIRCN_DIR
     if [ $1 = 1 ]; then
         echo_info "build a clean EPC"
-        bash_exec "rm -rf obj"
+        bash_exec "rm -rf objs"
     fi
     OBJ_DIR=`find . -maxdepth 1 -type d -iname obj*`
     if [ ! -n "$OBJ_DIR" ]; then