diff --git a/scripts/gen_gki_modules_headers.sh b/scripts/gen_gki_modules_headers.sh index e67c5c667fb0..722dfaff37b1 100755 --- a/scripts/gen_gki_modules_headers.sh +++ b/scripts/gen_gki_modules_headers.sh @@ -100,7 +100,7 @@ if [ "$(basename "${TARGET}")" = "gki_module_unprotected.h" ]; then generate_header "${TARGET}" "${GKI_VENDOR_SYMBOLS}" "unprotected" else # Sorted list of exported symbols - GKI_EXPORTED_SYMBOLS="${OUT_DIR}/protected_exports" + GKI_EXPORTED_SYMBOLS="${objtree}/protected_exports" # Make a temp copy to avoid changing source during pre-processing cp -f "${SYMBOL_LIST}" "${GKI_EXPORTED_SYMBOLS}"